summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-21 07:43:11 +0000
committerChris Lattner <sabre@nondot.org>2009-01-21 07:43:11 +0000
commitad89ec013f5f9d99fc436723153f00123e9a8ebe (patch)
tree0d30271a46d8edb930a5d3e931b2829e6c0cba22 /llvm/lib/CodeGen/GCStrategy.cpp
parent66c6562e24f7fbaacd9f1e6531baed2b314376c2 (diff)
downloadbcm5719-llvm-ad89ec013f5f9d99fc436723153f00123e9a8ebe.tar.gz
bcm5719-llvm-ad89ec013f5f9d99fc436723153f00123e9a8ebe.zip
Add a bit to IdentifierInfo that acts as a simple predicate which
tells us whether Preprocessor::HandleIdentifier needs to be called. Because this method is only rarely needed, this saves a call and a bunch of random checks. This drops the time in HandleIdentifier from 3.52ms to .98ms on cocoa.h on my machine. llvm-svn: 62675
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud