diff options
author | Sean Callanan <scallanan@apple.com> | 2010-01-31 02:28:18 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-01-31 02:28:18 +0000 |
commit | 9aeccadce40881bc136e05a5a62e0071f792dc1c (patch) | |
tree | ed8b046dc9c680432ca13703ce7d02100b14219c /llvm/lib/Target/TargetAsmLexer.cpp | |
parent | 600f737b9560f984924d3fae68af35ec05c6899f (diff) | |
download | bcm5719-llvm-9aeccadce40881bc136e05a5a62e0071f792dc1c.tar.gz bcm5719-llvm-9aeccadce40881bc136e05a5a62e0071f792dc1c.zip |
Moved InstallLexer() from the X86-specific AsmLexer
to the TargetAsmLexer class so that clients can
actually use the TargetAsmLexer they get from a
Target.
llvm-svn: 94940
Diffstat (limited to 'llvm/lib/Target/TargetAsmLexer.cpp')
-rw-r--r-- | llvm/lib/Target/TargetAsmLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetAsmLexer.cpp b/llvm/lib/Target/TargetAsmLexer.cpp index 0ae6c14b6bd..d4893ff2521 100644 --- a/llvm/lib/Target/TargetAsmLexer.cpp +++ b/llvm/lib/Target/TargetAsmLexer.cpp @@ -10,5 +10,5 @@ #include "llvm/Target/TargetAsmLexer.h" using namespace llvm; -TargetAsmLexer::TargetAsmLexer(const Target &T) : TheTarget(T) {} +TargetAsmLexer::TargetAsmLexer(const Target &T) : TheTarget(T), Lexer(NULL) {} TargetAsmLexer::~TargetAsmLexer() {} |