diff options
-rw-r--r-- | lib/Bytecode/Reader/InstructionReader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 8f256e4..407777c 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp @@ -423,7 +423,8 @@ bool BytecodeParser::ParseInstruction(const unsigned char *&Buf, } case Instruction::Unwind: if (Raw.NumOperands != 0) return true; - return new UnwindInst(); + Res = new UnwindInst(); + return false; } // end switch(Raw.Opcode) std::cerr << "Unrecognized instruction! " << Raw.Opcode |