mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Don't forget to add the landingpad and resume instructions to the InstructionList.
This was found via a nightly build of 483.xalancbmk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2514,6 +2514,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
|
|||||||
if (getValueTypePair(Record, Idx, NextValueNo, Val))
|
if (getValueTypePair(Record, Idx, NextValueNo, Val))
|
||||||
return Error("Invalid RESUME record");
|
return Error("Invalid RESUME record");
|
||||||
I = ResumeInst::Create(Val);
|
I = ResumeInst::Create(Val);
|
||||||
|
InstructionList.push_back(I);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case bitc::FUNC_CODE_INST_UNWIND: // UNWIND
|
case bitc::FUNC_CODE_INST_UNWIND: // UNWIND
|
||||||
@ -2578,6 +2579,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
I = LP;
|
I = LP;
|
||||||
|
InstructionList.push_back(I);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user