mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Serialization: Fix a couple of issues with serializing context params of generic SILFunctions."
This reverts commit 57ec1ee1e888b7ed61b731237218cd9529143d2d. It fixes r13984 but breaks ToT. Swift SVN r14006
This commit is contained in:
@@ -275,8 +275,7 @@ private:
|
||||
llvm::BitstreamCursor &Cursor);
|
||||
|
||||
GenericParamList *maybeGetOrReadGenericParams(serialization::DeclID contextID,
|
||||
DeclContext *DC,
|
||||
llvm::BitstreamCursor &Cursor);
|
||||
DeclContext *DC);
|
||||
|
||||
/// Reads a set of requirements from \c DeclTypeCursor.
|
||||
void readGenericRequirements(SmallVectorImpl<Requirement> &requirements);
|
||||
@@ -456,8 +455,7 @@ public:
|
||||
///
|
||||
/// If the record at the cursor is not a generic param list, returns null
|
||||
/// without moving the cursor.
|
||||
GenericParamList *maybeReadGenericParams(DeclContext *DC,
|
||||
llvm::BitstreamCursor &Cursor);
|
||||
GenericParamList *maybeReadGenericParams(DeclContext *DC);
|
||||
|
||||
virtual ArrayRef<Decl *> loadAllMembers(const Decl *D,
|
||||
uint64_t contextData) override;
|
||||
|
||||
Reference in New Issue
Block a user