[modules] Remove CXX_CTOR_INITIALIZERS_OFFSETS table. Instead of storing an ID
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 13 Apr 2016 21:57:08 +0000 (21:57 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 13 Apr 2016 21:57:08 +0000 (21:57 +0000)
commitaa165cf75966e8b208943a5e912a8893206d8935
treeb267062fb06f5efaa84827f858d4fbdcd82639d8
parent707e02c273f6a0286d023e4ecdac4a4ce0b84038
[modules] Remove CXX_CTOR_INITIALIZERS_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_CTOR_INITIALIZERS record. This results in fewer
indirections and a minor .pcm file size reduction.

llvm-svn: 266254
12 files changed:
clang/include/clang/AST/DeclCXX.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/ASTWriter.h
clang/include/clang/Serialization/Module.h
clang/lib/CodeGen/CGClass.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/lib/Serialization/ASTWriterDecl.cpp
clang/lib/Serialization/Module.cpp