From 645d2cfd9cb0906aa83dd1725b450c791aacc15e Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 14 Apr 2016 00:29:55 +0000 Subject: [modules] Remove CXX_BASE_SPECIFIERS_OFFSETS table. Instead of storing an ID of a table entry in the corresponding decl, store an offset from the current record to the relevant CXX_BASE_SPECIFIERS record. This results in fewer indirections and a minor .pcm file size reduction. llvm-svn: 266266 --- clang/lib/Serialization/Module.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/Serialization/Module.cpp') diff --git a/clang/lib/Serialization/Module.cpp b/clang/lib/Serialization/Module.cpp index 872a447429f..ca0cb3c8ea1 100644 --- a/clang/lib/Serialization/Module.cpp +++ b/clang/lib/Serialization/Module.cpp @@ -37,7 +37,6 @@ ModuleFile::ModuleFile(ModuleKind Kind, unsigned Generation) LocalNumSelectors(0), SelectorOffsets(nullptr), BaseSelectorID(0), SelectorLookupTableData(nullptr), SelectorLookupTable(nullptr), LocalNumDecls(0), DeclOffsets(nullptr), BaseDeclID(0), - LocalNumCXXBaseSpecifiers(0), CXXBaseSpecifiersOffsets(nullptr), FileSortedDecls(nullptr), NumFileSortedDecls(0), ObjCCategoriesMap(nullptr), LocalNumObjCCategoriesInMap(0), LocalNumTypes(0), TypeOffsets(nullptr), BaseTypeIndex(0) -- cgit v1.2.3