[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:
Michael Gottesman
2014-02-26 01:14:08 +00:00
parent 90f90c7fdd
commit 0aebf1f4a5
7 changed files with 50 additions and 9 deletions

View File

@@ -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.