mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "GenericSpecializer: When specializing a generic function, convert indirect parameters/result to direct parameters/result."
This reverts commit 4187959e66.
There is a crash in StdlibUnittests on i386 (Release-Assert build)
This commit is contained in:
@@ -220,8 +220,7 @@ SILFunction *SILModule::getOrCreateFunction(SILLocation loc,
|
||||
SILFunction::ClassVisibility_t CV) {
|
||||
if (auto fn = lookUpFunction(name)) {
|
||||
assert(fn->getLoweredFunctionType() == type);
|
||||
assert(fn->getLinkage() == linkage ||
|
||||
stripExternalFromLinkage(fn->getLinkage()) == linkage);
|
||||
assert(fn->getLinkage() == linkage);
|
||||
return fn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user