mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
MIR Serialization: Serialize the 'killed' register machine operand flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -40,6 +40,7 @@ struct MIToken {
|
||||
kw_implicit,
|
||||
kw_implicit_define,
|
||||
kw_dead,
|
||||
kw_killed,
|
||||
|
||||
// Identifier tokens
|
||||
Identifier,
|
||||
@@ -75,7 +76,8 @@ public:
|
||||
}
|
||||
|
||||
bool isRegisterFlag() const {
|
||||
return Kind == kw_implicit || Kind == kw_implicit_define || Kind == kw_dead;
|
||||
return Kind == kw_implicit || Kind == kw_implicit_define ||
|
||||
Kind == kw_dead || Kind == kw_killed;
|
||||
}
|
||||
|
||||
bool is(TokenKind K) const { return Kind == K; }
|
||||
|
Reference in New Issue
Block a user