mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Serialize SILBoxTypes using their layout.
This commit is contained in:
@@ -250,6 +250,9 @@ private:
|
||||
/// Normal protocol conformances referenced by this module.
|
||||
std::vector<Serialized<NormalProtocolConformance *>> NormalConformances;
|
||||
|
||||
/// SILLayouts referenced by this module.
|
||||
std::vector<Serialized<SILLayout *>> SILLayouts;
|
||||
|
||||
/// Types referenced by this module.
|
||||
std::vector<Serialized<Type>> Types;
|
||||
|
||||
@@ -716,6 +719,9 @@ public:
|
||||
ProtocolConformanceRef readConformance(llvm::BitstreamCursor &Cursor,
|
||||
GenericEnvironment *genericEnv =
|
||||
nullptr);
|
||||
|
||||
/// Read a SILLayout from the given cursor.
|
||||
SILLayout *readSILLayout(llvm::BitstreamCursor &Cursor);
|
||||
|
||||
/// Read the given normal conformance from the current module file.
|
||||
NormalProtocolConformance *
|
||||
|
||||
Reference in New Issue
Block a user