diff --git a/lib/Transforms/IPO/PruneEH.cpp b/lib/Transforms/IPO/PruneEH.cpp index 1ef2809e9d3..70d0204b554 100644 --- a/lib/Transforms/IPO/PruneEH.cpp +++ b/lib/Transforms/IPO/PruneEH.cpp @@ -98,7 +98,6 @@ bool PruneEH::runOnSCC(const std::vector &SCC) { new BranchInst(II->getNormalDest(), II); // Finally, delete the invoke instruction! - I->getInstList().pop_back(); ++NumRemoved;