summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.h
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-07-16 23:37:45 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-07-16 23:37:45 +0000
commit7feaf7c60be1557931549ec0f848090eb1e9da99 (patch)
tree31eabcfed68328262a73dd4a90d9d8115da6fc80 /llvm/lib/CodeGen/MIRParser/MILexer.h
parent9b4f6b2650fb7db7c09755dcb731a6d68e4ffe11 (diff)
downloadbcm5719-llvm-7feaf7c60be1557931549ec0f848090eb1e9da99.tar.gz
bcm5719-llvm-7feaf7c60be1557931549ec0f848090eb1e9da99.zip
MIR Serialization: Serialize the frame index machine operands.
Reviewers: Duncan P. N. Exon Smith llvm-svn: 242487
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index b1c05226158..03b4d486f98 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -48,6 +48,8 @@ struct MIToken {
Identifier,
NamedRegister,
MachineBasicBlock,
+ StackObject,
+ FixedStackObject,
NamedGlobalValue,
GlobalValue,
@@ -97,6 +99,7 @@ public:
bool hasIntegerValue() const {
return Kind == IntegerLiteral || Kind == MachineBasicBlock ||
+ Kind == StackObject || Kind == FixedStackObject ||
Kind == GlobalValue || Kind == VirtualRegister ||
Kind == JumpTableIndex;
}
OpenPOWER on IntegriCloud