diff options
| author | Steve Naroff <snaroff@apple.com> | 2009-01-29 18:09:31 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2009-01-29 18:09:31 +0000 |
| commit | d25adc945e6a019372df8a83af93d2b1a668c781 (patch) | |
| tree | d55511f93696ba69ac15e90ca05438c9047b8911 /llvm/lib/CodeGen/RegAllocLocal.cpp | |
| parent | 1cb12da1689ed6e9a43a611c302655d71b74ccdf (diff) | |
| download | bcm5719-llvm-d25adc945e6a019372df8a83af93d2b1a668c781.tar.gz bcm5719-llvm-d25adc945e6a019372df8a83af93d2b1a668c781.zip | |
Hack Sema::LookupDeclInScope() to avoid calling Sema::LookupName() when parsing C/ObjC.
This results in a 1.7% improvement for "Cocoa.h". If we can figure out how to return a "Decl *", rather than a Sema::LookupResult(), we will likely bump the speedup from 1.7%->2.5%. I verified this, however couldn't get it to work without breaking a fair number of C++ test cases. Will discuss with Doug offline.
llvm-svn: 63320
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions

