diff options
author | Alex Lorenz <arphaman@gmail.com> | 2015-08-12 21:11:08 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2015-08-12 21:11:08 +0000 |
commit | 4be56e93706f94de488c4ca31e98510bbdd0bc47 (patch) | |
tree | d49e6fccae5b8862ed954208899ba7bae3edb5c8 /llvm/lib/CodeGen/MIRParser/MIParser.cpp | |
parent | c25c9fdf083196d3eb373c73ce34d30674579284 (diff) | |
download | bcm5719-llvm-4be56e93706f94de488c4ca31e98510bbdd0bc47.tar.gz bcm5719-llvm-4be56e93706f94de488c4ca31e98510bbdd0bc47.zip |
MIR Serialization: Serialize the jump table pseudo source values.
llvm-svn: 244813
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIParser.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp index 6dae29a58e3..ec70ea3d6c7 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp @@ -1127,6 +1127,9 @@ bool MIParser::parseMemoryPseudoSourceValue(const PseudoSourceValue *&PSV) { case MIToken::kw_got: PSV = MF.getPSVManager().getGOT(); break; + case MIToken::kw_jump_table: + PSV = MF.getPSVManager().getJumpTable(); + break; case MIToken::kw_constant_pool: PSV = MF.getPSVManager().getConstantPool(); break; @@ -1140,7 +1143,7 @@ bool MIParser::parseMemoryPseudoSourceValue(const PseudoSourceValue *&PSV) { bool MIParser::parseMachinePointerInfo(MachinePointerInfo &Dest) { if (Token.is(MIToken::kw_constant_pool) || Token.is(MIToken::kw_stack) || - Token.is(MIToken::kw_got)) { + Token.is(MIToken::kw_got) || Token.is(MIToken::kw_jump_table)) { const PseudoSourceValue *PSV = nullptr; if (parseMemoryPseudoSourceValue(PSV)) return true; |