summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-26 15:39:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-26 15:39:31 +0000
commite6f5123e16debe7b6894827aec14f42ecddd89bf (patch)
treece21d5231331b79b935859f7f72d198a6d937a04 /clang/lib/CodeGen/CodeGenModule.cpp
parent0578aaf77cd9fafcce0a12cef9682dedeba2b8f0 (diff)
downloadbcm5719-llvm-e6f5123e16debe7b6894827aec14f42ecddd89bf.tar.gz
bcm5719-llvm-e6f5123e16debe7b6894827aec14f42ecddd89bf.zip
Driver: Factor string vector push_back into a helper class and optimize it.
Due to lack of move semantics we would create a temporary std::string from the string literal, copy it into the vector and discard the temporary. This leads to massive code bloat, optimizing it saves 50k on i386-linux-Release+Asserts. While there add a two-element overload for push_back, simplifying code a bit. llvm-svn: 153441
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud