diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-01 00:50:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-01 00:50:20 +0000 |
commit | b9a899995d28f5b3e8d284c30522527a4726d097 (patch) | |
tree | 9598cfe35087e6ef4cddd2c9fdb1a5eb56b4f488 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1d3c137839265494b2c0828f2b8bf311cfbc7a0b (diff) | |
download | bcm5719-llvm-b9a899995d28f5b3e8d284c30522527a4726d097.tar.gz bcm5719-llvm-b9a899995d28f5b3e8d284c30522527a4726d097.zip |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index a33705d2dd5..148f74808a2 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -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; } |