aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode
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
commitda73beac201091653d9e2b900d2207c31ed97a0e (patch)
tree60481e851533142b0058c61f9a32ce95cc641e1b /lib/Bytecode
parente4d90964096c240c9e29ae414792ed1246db4ee8 (diff)
Fix bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/InstructionReader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp
index 8f256e4220..407777c330 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