Whoa, we were misreading invoke instructions "normal" destinations quite badly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-09-05 05:27:58 +00:00
parent d5caf7c432
commit 8e2185ea07

View File

@ -302,7 +302,7 @@ bool BytecodeParser::ParseInstruction(const unsigned char *&Buf,
if (Raw.NumOperands < 3) return true;
Normal = cast<BasicBlock>(getValue(Type::LabelTy, Raw.Arg2));
if (Raw.NumOperands == 3)
if (Raw.NumOperands == 3)
Except = cast<BasicBlock>(getValue(Type::LabelTy, Raw.Arg3));
else {
Except = cast<BasicBlock>(getValue(Type::LabelTy, args[0]));
@ -318,7 +318,7 @@ bool BytecodeParser::ParseInstruction(const unsigned char *&Buf,
} else {
if (args.size() < 4) return true;
Normal = cast<BasicBlock>(getValue(Type::LabelTy, args[0]));
Normal = cast<BasicBlock>(getValue(Type::LabelTy, args[1]));
Except = cast<BasicBlock>(getValue(Type::LabelTy, args[2]));
if ((args.size() & 1) != 0)