mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[deserialization] Change SILLinking to use SILModule for linking instead of performing the linking itself.
This approach will allow us to go back to doing lazy linking if we want to in the future. Swift SVN r15498
This commit is contained in:
@@ -294,6 +294,12 @@ public:
|
||||
bool linkFunction(SILFunction *Fun,
|
||||
LinkingMode LinkAll=LinkingMode::LinkNormal);
|
||||
|
||||
/// Link in all Witness Tables in the module.
|
||||
void linkAllWitnessTables();
|
||||
|
||||
/// Link in all VTables in the module.
|
||||
void linkAllVTables();
|
||||
|
||||
/// \brief Return the declaration of a utility function that can,
|
||||
/// but needn't, be shared between modules.
|
||||
SILFunction *getOrCreateSharedFunction(SILLocation loc,
|
||||
|
||||
Reference in New Issue
Block a user