diff options
Diffstat (limited to 'lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r-- | lib/Bytecode/Reader/InstructionReader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 603c20564c..8f256e4220 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp @@ -421,6 +421,9 @@ bool BytecodeParser::ParseInstruction(const unsigned char *&Buf, Res = new StoreInst(getValue(ValTy, Raw.Arg1), Ptr, Raw.Opcode == 63); return false; } + case Instruction::Unwind: + if (Raw.NumOperands != 0) return true; + return new UnwindInst(); } // end switch(Raw.Opcode) std::cerr << "Unrecognized instruction! " << Raw.Opcode |