summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index b84fb743599..06fa1f256dd 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -66,7 +66,8 @@ struct MIToken {
IntegerLiteral,
VirtualRegister,
ConstantPoolItem,
- JumpTableIndex
+ JumpTableIndex,
+ IRBlock,
};
private:
@@ -132,7 +133,8 @@ public:
return Kind == IntegerLiteral || Kind == MachineBasicBlock ||
Kind == StackObject || Kind == FixedStackObject ||
Kind == GlobalValue || Kind == VirtualRegister ||
- Kind == ConstantPoolItem || Kind == JumpTableIndex;
+ Kind == ConstantPoolItem || Kind == JumpTableIndex ||
+ Kind == IRBlock;
}
};
OpenPOWER on IntegriCloud