diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-13 21:57:08 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-04-13 21:57:08 +0000 |
| commit | aa165cf75966e8b208943a5e912a8893206d8935 (patch) | |
| tree | b267062fb06f5efaa84827f858d4fbdcd82639d8 /clang/lib/CodeGen/CGClass.cpp | |
| parent | 707e02c273f6a0286d023e4ecdac4a4ce0b84038 (diff) | |
| download | bcm5719-llvm-aa165cf75966e8b208943a5e912a8893206d8935.tar.gz bcm5719-llvm-aa165cf75966e8b208943a5e912a8893206d8935.zip | |
[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
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 8a82be9e5f2..351dae9d4dd 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -746,7 +746,7 @@ static void EmitMemberInitializer(CodeGenFunction &CGF, ArrayRef<VarDecl *> ArrayIndexes; if (MemberInit->getNumArrayIndices()) - ArrayIndexes = MemberInit->getArrayIndexes(); + ArrayIndexes = MemberInit->getArrayIndices(); CGF.EmitInitializerForField(Field, LHS, MemberInit->getInit(), ArrayIndexes); } |

