1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Don't forget to add the landingpad and resume instructions to the InstructionList.

This was found via a nightly build of 483.xalancbmk.

llvm-svn: 138923
This commit is contained in:
Bill Wendling 2011-09-01 00:50:20 +00:00
parent 2b04342a91
commit 220f6a3b14

View File

@ -2514,6 +2514,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
if (getValueTypePair(Record, Idx, NextValueNo, Val))
return Error("Invalid RESUME record");
I = ResumeInst::Create(Val);
InstructionList.push_back(I);
break;
}
case bitc::FUNC_CODE_INST_UNWIND: // UNWIND
@ -2578,6 +2579,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
}
I = LP;
InstructionList.push_back(I);
break;
}