summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/InstructionReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-08 19:43:46 +0000
committerChris Lattner <sabre@nondot.org>2003-09-08 19:43:46 +0000
commit0b792b4ed345295214583991a27b692b3c6bd1bb (patch)
treedce184573e1d221b81eebefd174df5f056df8116 /llvm/lib/Bytecode/Reader/InstructionReader.cpp
parentcaa12cfa751748abab31cb6f9caa8d7c13b59170 (diff)
downloadbcm5719-llvm-0b792b4ed345295214583991a27b692b3c6bd1bb.tar.gz
bcm5719-llvm-0b792b4ed345295214583991a27b692b3c6bd1bb.zip
Fix bug
llvm-svn: 8410
Diffstat (limited to 'llvm/lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r--llvm/lib/Bytecode/Reader/InstructionReader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp
index 8f256e4220e..407777c3309 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
OpenPOWER on IntegriCloud