diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-04 21:15:42 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-04 21:15:42 +0000 |
commit | dd67654af634eb025a1239b99b60e8bae4ae598b (patch) | |
tree | ac59ea04973e6ad9370ea53287d72ee911100a0c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | bc03a9792a9187f06f55980ec69e9cfe660ea998 (diff) | |
download | bcm5719-llvm-dd67654af634eb025a1239b99b60e8bae4ae598b.tar.gz bcm5719-llvm-dd67654af634eb025a1239b99b60e8bae4ae598b.zip |
Reassociate: Avoid iterator invalidation.
OpndPtrs stored pointers into the Opnd vector that became invalid when the
vector grows. Store indices instead. Sadly I only have a large testcase that
only triggers under valgrind, so I didn't include it.
llvm-svn: 178793
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions