mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Move SILFunctionTypeInfo into a side table.
Generate and cache SILFunctionTypeInfo from Swift types on the fly, and simplify the SILType representation down to a CanType and isAddress bit. Swift SVN r5298
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
SILModule &getModule() const { return *ModuleAndLinkage.getPointer(); }
|
||||
SILType getLoweredType() const { return LoweredType; }
|
||||
SILFunctionTypeInfo *getFunctionTypeInfo() const {
|
||||
return LoweredType.getFunctionTypeInfo();
|
||||
return LoweredType.getFunctionTypeInfo(getModule());
|
||||
}
|
||||
|
||||
/// Returns the calling convention used by this entry point.
|
||||
|
||||
Reference in New Issue
Block a user