diff options
author | Eli Bendersky <eliben@google.com> | 2013-04-22 21:21:08 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-04-22 21:21:08 +0000 |
commit | 2ad047e04dd4c19defade4799834efacb0024551 (patch) | |
tree | 02e957d41ae6dede9b3b5de0db47288eed949c77 /lib/Bitcode/Reader/BitReader.cpp | |
parent | 0af5493701f9982d7451c8b3c1b7699cc84ac94c (diff) |
Optimize MachineBasicBlock::getSymbol by caching the symbol. Since the symbol
name computation is expensive, this helps save about 25% of the time spent in
this function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions