projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ed2e7
)
Don't forget to add the landingpad and resume instructions to the InstructionList.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 1 Sep 2011 00:50:20 +0000
(
00:50
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 1 Sep 2011 00:50:20 +0000
(
00:50
+0000)
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
lib/Bitcode/Reader/BitcodeReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index a33705d2dd58452f832fec4f64a85406456e30da..148f74808a223c483f27bacc95af98738a902cf9 100644
(file)
--- a/
lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/
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;
}