summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-03-21 18:13:52 +0000
committerDouglas Gregor <dgregor@apple.com>2009-03-21 18:13:52 +0000
commit221c9a55785c58d12fcd53cb83a4459383613333 (patch)
treeea84f691fae1a20d2dcc8f6cd064d325c1c99a0e /clang/lib/CodeGen/CodeGenModule.cpp
parent15f1754eb44316b33d17d18557df1b9a983a3d85 (diff)
downloadbcm5719-llvm-221c9a55785c58d12fcd53cb83a4459383613333.tar.gz
bcm5719-llvm-221c9a55785c58d12fcd53cb83a4459383613333.zip
Fix a thinko in the pre-allocation strategy for structured initializer
lists. The code wasn't accounting for the distinction between the top-level call to getStructuredSubobjectInit and later calls that occur deeper in the hierarchy. This problem manifested itself as over-allocation in cases where we have large arrays of small structures (<rdar://problem/6707362>). llvm-svn: 67452
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud