diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-18 20:56:22 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-18 20:56:22 +0000 |
commit | 4fc9f3e819d64b244f322c213e2dab10bd85636f (patch) | |
tree | bbf574d05acff4fcbe42ca396f0e384bb3504346 /llvm/lib/MC/MCObjectWriter.cpp | |
parent | c3cc110bb43a3d84782a7f72210cd68e15870d04 (diff) | |
download | bcm5719-llvm-4fc9f3e819d64b244f322c213e2dab10bd85636f.tar.gz bcm5719-llvm-4fc9f3e819d64b244f322c213e2dab10bd85636f.zip |
Optimize unqualified/global name lookup in modules by introducing a
generational scheme for identifiers that avoids searching the hash
tables of a given module more than once for a given
identifier. Previously, loading any new module invalidated all of the
previous lookup results for all identifiers, causing us to perform the
lookups repeatedly.
llvm-svn: 148412
Diffstat (limited to 'llvm/lib/MC/MCObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions