diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2012-12-20 14:43:30 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2012-12-20 14:43:30 +0000 |
commit | 6af228a92a7b8414fa3c1b3c37ee659d32e66e1b (patch) | |
tree | 575bfc17a6cc425c91380e65eccde9bd0282a303 /include/llvm/MC/MCParser | |
parent | 332bd799512142e23d35105483520acbffff72c8 (diff) | |
download | external_llvm-6af228a92a7b8414fa3c1b3c37ee659d32e66e1b.zip external_llvm-6af228a92a7b8414fa3c1b3c37ee659d32e66e1b.tar.gz external_llvm-6af228a92a7b8414fa3c1b3c37ee659d32e66e1b.tar.bz2 |
Remove MCTargetAsmLexer and its derived classes now that edis,
its only user, is gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCParser')
-rw-r--r-- | include/llvm/MC/MCParser/MCAsmLexer.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/MC/MCParser/MCAsmLexer.h b/include/llvm/MC/MCParser/MCAsmLexer.h index 0a961d6..37a69e2 100644 --- a/include/llvm/MC/MCParser/MCAsmLexer.h +++ b/include/llvm/MC/MCParser/MCAsmLexer.h @@ -34,9 +34,6 @@ public: // Real values. Real, - // Register values (stored in IntVal). Only used by MCTargetAsmLexer. - Register, - // No-value. EndOfStatement, Colon, @@ -104,13 +101,6 @@ public: assert(Kind == Integer && "This token isn't an integer!"); return IntVal; } - - /// getRegVal - Get the register number for the current token, which should - /// be a register. - unsigned getRegVal() const { - assert(Kind == Register && "This token isn't a register!"); - return static_cast<unsigned>(IntVal); - } }; /// MCAsmLexer - Generic assembler lexer interface, for use by target specific |