From 0b792b4ed345295214583991a27b692b3c6bd1bb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 8 Sep 2003 19:43:46 +0000 Subject: [PATCH] Fix bug llvm-svn: 8410 --- llvm/lib/Bytecode/Reader/InstructionReader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp index 8f256e4220ea..407777c3309c 100644 --- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp +++ b/llvm/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