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