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:
@@ -941,7 +941,7 @@ static SILValue getBinaryFunction(StringRef Name, SILType IntSILTy,
|
||||
|
||||
auto FnType = SILFunctionType::get(nullptr, nullptr, extInfo,
|
||||
ParameterConvention::Direct_Owned,
|
||||
Params, Result, Params, Result,
|
||||
Params, Result,
|
||||
B.getASTContext());
|
||||
auto Ty = SILType::getPrimitiveObjectType(FnType);
|
||||
return B.createBuiltinFunctionRef(Loc, NameStr, Ty);
|
||||
@@ -969,7 +969,7 @@ static SILValue getTruncateToI1Function(SILType IntSILTy, SILLocation Loc,
|
||||
|
||||
auto FnType = SILFunctionType::get(nullptr, nullptr, extInfo,
|
||||
ParameterConvention::Direct_Owned,
|
||||
Param, Result, Param, Result,
|
||||
Param, Result,
|
||||
B.getASTContext());
|
||||
auto Ty = SILType::getPrimitiveObjectType(FnType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user