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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index c66b2006e35..47c3c62b596 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -39,6 +39,7 @@ struct MIToken {
// Keywords
kw_implicit,
kw_implicit_define,
+ kw_dead,
// Identifier tokens
Identifier,
@@ -74,7 +75,7 @@ public:
}
bool isRegisterFlag() const {
- return Kind == kw_implicit || Kind == kw_implicit_define;
+ return Kind == kw_implicit || Kind == kw_implicit_define || Kind == kw_dead;
}
bool is(TokenKind K) const { return Kind == K; }
OpenPOWER on IntegriCloud