aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandObjectRegexCommand.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-03-15 20:55:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-03-15 20:55:27 +0000
commit99514845df88109c42d772942302dbb4d9c58cc6 (patch)
tree0986d1d2a56954a10f948d7d210791d3f68b00f6 /lldb/source/Interpreter/CommandObjectRegexCommand.cpp
parent7e138ff572a0cf2cb75fad6bacbec4816fe98065 (diff)
downloadllvm-99514845df88109c42d772942302dbb4d9c58cc6.zip
llvm-99514845df88109c42d772942302dbb4d9c58cc6.tar.gz
llvm-99514845df88109c42d772942302dbb4d9c58cc6.tar.bz2
[AST] Add a fast path to ConstantArrayType::getNumAddressingBits().
- This fast path is almost 100% effective on real code, and lets us avoid multiple allocations of 128-bit APSInt objects in the common case. - As with any overflow-check-skipping-code, I'd appreciate someone double checking my logic. llvm-svn: 177183
Diffstat (limited to 'lldb/source/Interpreter/CommandObjectRegexCommand.cpp')
0 files changed, 0 insertions, 0 deletions