[serialization] Remove skeleton for sharing module decl/type IDs.

Clang modules have a clever way to share decl and type IDs, by saying
"this range of IDs comes from this other module". Swift modules have to
be resilient, however, and so this is not a viable solution.

We still use 0 as a special ID for null decls and types, when applicable.

Swift SVN r5323
This commit is contained in:
Jordan Rose
2013-05-25 01:34:55 +00:00
parent 4f2b0bb917
commit 9b712a2fe9
3 changed files with 7 additions and 23 deletions

View File

@@ -173,7 +173,6 @@ namespace index_block {
using OffsetsLayout = BCGenericRecordLayout<
BCFixed<2>, // record ID
DeclIDField, // first ID in this module
BCArray<BitOffsetField>
>;
}