mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[deserialization] Add ClassDecl -> VTable map to SILModule.
Swift SVN r15545
This commit is contained in:
@@ -32,6 +32,7 @@ SILVTable *SILVTable::create(SILModule &M, ClassDecl *Class,
|
||||
alignof(SILVTable));
|
||||
SILVTable *vt = ::new (buf) SILVTable(Class, Entries);
|
||||
M.vtables.push_back(vt);
|
||||
M.VTableLookupTable[Class] = vt;
|
||||
return vt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user