summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-16 06:12:59 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-16 06:12:59 +0000
commitf634c9006977fcbed5f55eaee831852e453fdf76 (patch)
tree2e80d52e126b0eb2e43e1521d66b868764e9535e /llvm/lib
parentb37fc13a364c113c5ea6ff35d5a0686c0028cca7 (diff)
downloadbcm5719-llvm-f634c9006977fcbed5f55eaee831852e453fdf76.tar.gz
bcm5719-llvm-f634c9006977fcbed5f55eaee831852e453fdf76.zip
Fix Objective-C compilation-time performance regression introduced in r152608.
Reintroduce lazy name lookup table building, ensuring that the lazy building step produces the same lookup table that would be built by the eager step. Avoid building a lookup table for the translation unit outside C++, even in cases where we can't recover the contents of the table from the declaration chain on the translation unit, since we're not going to perform qualified lookup into it anyway. Continue to support lazily building such lookup tables for now, though, since ASTMerge uses them. In my tests, this performs very similarly to ToT with r152608 backed out, for C, Obj-C and C++, and does not suffer from PR10447. llvm-svn: 152905
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud