Fix bug
authorChris Lattner <sabre@nondot.org>
Mon, 8 Sep 2003 19:43:46 +0000 (19:43 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Sep 2003 19:43:46 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8410 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Reader/InstructionReader.cpp

index 8f256e4220ea458ebf103436f651b6e8234fc551..407777c3309c7ca4969e49240b43512c82a06018 100644 (file)
@@ -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