diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-07 23:11:54 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-07 23:11:54 +0000 |
commit | af5c48490e270dde01376576a4c44e9547b224e0 (patch) | |
tree | 08c499ceb7b6380cea1ba92302789a1505685a90 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | e0ebc1c396909e55210d79c10600138f7bfcc505 (diff) | |
download | llvm-af5c48490e270dde01376576a4c44e9547b224e0.zip llvm-af5c48490e270dde01376576a4c44e9547b224e0.tar.gz llvm-af5c48490e270dde01376576a4c44e9547b224e0.tar.bz2 |
Optimize the preprocessor's handling of the __import_module__
keyword. We now handle this keyword in HandleIdentifier, making a note
for ourselves when we've seen the __import_module__ keyword so that
the next lexed token can trigger a module import (if needed). This
greatly simplifies Preprocessor::Lex(), and completely erases the 5.5%
-Eonly slowdown Argiris noted when I originally implemented
__import_module__. Big thanks to Argiris for noting that horrible
regression!
llvm-svn: 139265
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions