diff options
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MILexer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h index 55460b56e7d..b1c05226158 100644 --- a/llvm/lib/CodeGen/MIRParser/MILexer.h +++ b/llvm/lib/CodeGen/MIRParser/MILexer.h @@ -53,7 +53,8 @@ struct MIToken { // Other tokens IntegerLiteral, - VirtualRegister + VirtualRegister, + JumpTableIndex }; private: @@ -96,7 +97,8 @@ public: bool hasIntegerValue() const { return Kind == IntegerLiteral || Kind == MachineBasicBlock || - Kind == GlobalValue || Kind == VirtualRegister; + Kind == GlobalValue || Kind == VirtualRegister || + Kind == JumpTableIndex; } }; |