Revert "Summon the eldritch horror "EagerDeserializationDecls" from the bowels of history."

This reverts commit dc98e17d84b991b6be8b8feb5e0d05aad24f52a4.

I believe this commit was causing test failures on:
  IRGen/c_layout.sil
  IRGen/existentials.sil
It also recreates the file lib/Serialization/ModuleFormat.h,
which really can't have been intended.

Swift SVN r23732
This commit is contained in:
John McCall
2014-12-05 06:53:27 +00:00
parent c1984e15e7
commit 2e60c2947d
8 changed files with 11 additions and 1022 deletions

View File

@@ -51,7 +51,7 @@ const uint16_t VERSION_MAJOR = 0;
/// To ensure that two separate changes don't silently get merged into one
/// in source control, you should also update the comment to briefly
/// describe what change you made.
const uint16_t VERSION_MINOR = 162; // Last change: reintroduce force deserialization of decls
const uint16_t VERSION_MINOR = 161; // Last change: witness_method serialization
using DeclID = Fixnum<31>;
using DeclIDField = BCFixed<31>;
@@ -1230,9 +1230,6 @@ namespace index_block {
/// Objective-C selectors to the methods/initializers/properties/etc. that
/// produce Objective-C methods.
OBJC_METHODS,
/// A set of declarations to eagerly deserialize.
FORCE_DESERIALIZATION,
};
using OffsetsLayout = BCGenericRecordLayout<
@@ -1251,11 +1248,6 @@ namespace index_block {
BCVBR<16>, // table offset within the blob (see below)
BCBlob // map from Objective-C selectors to methods with that selector
>;
using ForceDeserializationTableLayout = BCRecordLayout<
FORCE_DESERIALIZATION, // record ID
BCArray<DeclIDField> // decl IDs to eagerly deserialize
>;
}
/// \sa COMMENT_BLOCK_ID