mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[sil-deserialization] Teach SIL how to deserialize generic outer parameters.
With this commit, we can deserialize the stdlib. Still running into issues related to linking that requires a consultation with John. That will come in a later commit. Swift SVN r14365
This commit is contained in:
@@ -313,13 +313,13 @@ private:
|
||||
/// XREF_PATH_PIECE records.
|
||||
Decl *resolveCrossReference(Module *M, uint32_t pathLen);
|
||||
|
||||
/// Returns the decl context with the given ID, deserializing it if needed.
|
||||
DeclContext *getDeclContext(serialization::DeclID DID);
|
||||
|
||||
/// Populates TopLevelIDs for name lookup.
|
||||
void buildTopLevelDeclMap();
|
||||
|
||||
public:
|
||||
/// Returns the decl context with the given ID, deserializing it if needed.
|
||||
DeclContext *getDeclContext(serialization::DeclID DID);
|
||||
|
||||
/// Loads a module from the given memory buffer.
|
||||
///
|
||||
/// \param input A memory buffer containing the serialized module data.
|
||||
|
||||
Reference in New Issue
Block a user