summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-04-13 21:57:08 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-04-13 21:57:08 +0000
commitaa165cf75966e8b208943a5e912a8893206d8935 (patch)
treeb267062fb06f5efaa84827f858d4fbdcd82639d8 /clang/lib/CodeGen/CGClass.cpp
parent707e02c273f6a0286d023e4ecdac4a4ce0b84038 (diff)
downloadbcm5719-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.cpp2
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);
}
OpenPOWER on IntegriCloud