summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-06-26 22:42:18 +0000
committerReid Kleckner <reid@kleckner.net>2014-06-26 22:42:18 +0000
commitb7b179e17993b59feab4230b8cce55d7df97c3ca (patch)
tree28e79c3ccf5e9908ad82e3e6570452a7529989dc /lib/Serialization/ModuleManager.cpp
parent1b9b13db0cf578d25a48d243e96ee78ebb6ea18e (diff)
downloadclang-b7b179e17993b59feab4230b8cce55d7df97c3ca.tar.gz
clang-b7b179e17993b59feab4230b8cce55d7df97c3ca.tar.bz2
clang-b7b179e17993b59feab4230b8cce55d7df97c3ca.tar.xz
Avoid extra back reference key lookup in msmangler
Avoid a second key lookup when the back reference key is going to be inserted in the StringMap. The string lookups in the msmangler are the main responsible for the huge overhead when compared to the itanium mangler. This patch makes a small but noticeable improvement. Reviewed by: rnk Differential Revision: http://reviews.llvm.org/D4130 Patch by Agustín Bergé! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions