projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IPO: Remove implicit ilist iterator conversions, NFC
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
PruneEH.cpp
diff --git
a/lib/Transforms/IPO/PruneEH.cpp
b/lib/Transforms/IPO/PruneEH.cpp
index b2f1010c9a07f5629a3b8a19db46a1c53b1f4844..a0b740563693dfddc244b280b9756da1ef30bcbb 100644
(file)
--- a/
lib/Transforms/IPO/PruneEH.cpp
+++ b/
lib/Transforms/IPO/PruneEH.cpp
@@
-233,7
+233,7
@@
bool PruneEH::SimplifyFunction(Function *F) {
// Remove the uncond branch and add an unreachable.
BB->getInstList().pop_back();
- new UnreachableInst(BB->getContext(), BB);
+ new UnreachableInst(BB->getContext(),
&*
BB);
DeleteBasicBlock(New); // Delete the new BB.
MadeChange = true;