diff options
Diffstat (limited to 'include/llvm/MC/MCParser/MCAsmLexer.h')
| -rw-r--r-- | include/llvm/MC/MCParser/MCAsmLexer.h | 14 | 
1 files changed, 2 insertions, 12 deletions
| diff --git a/include/llvm/MC/MCParser/MCAsmLexer.h b/include/llvm/MC/MCParser/MCAsmLexer.h index 0a961d6d0971..53b380f12f71 100644 --- a/include/llvm/MC/MCParser/MCAsmLexer.h +++ b/include/llvm/MC/MCParser/MCAsmLexer.h @@ -7,8 +7,8 @@  //  //===----------------------------------------------------------------------===// -#ifndef LLVM_MC_MCASMLEXER_H -#define LLVM_MC_MCASMLEXER_H +#ifndef LLVM_MC_MCPARSER_MCASMLEXER_H +#define LLVM_MC_MCPARSER_MCASMLEXER_H  #include "llvm/ADT/StringRef.h"  #include "llvm/Support/Compiler.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 | 
