mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Drop the non-interface types from SILFunctionType.
There are some straggling references to the context generic param list, but nothing uses the non-interface param or result types anymore! Swift SVN r13725
This commit is contained in:
@@ -877,7 +877,6 @@ static CanSILFunctionType buildThunkType(SILGenFunction &gen,
|
||||
// The type of the thunk function.
|
||||
auto thunkType = SILFunctionType::get(generics, genericSig, extInfo,
|
||||
ParameterConvention::Direct_Unowned,
|
||||
params, expectedType->getInterfaceResult(),
|
||||
interfaceParams, interfaceResult,
|
||||
gen.getASTContext());
|
||||
|
||||
@@ -888,7 +887,6 @@ static CanSILFunctionType buildThunkType(SILGenFunction &gen,
|
||||
substFnType = SILFunctionType::get(nullptr, nullptr, extInfo,
|
||||
ParameterConvention::Direct_Unowned,
|
||||
params, expectedType->getInterfaceResult(),
|
||||
params, expectedType->getInterfaceResult(),
|
||||
gen.getASTContext());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user