diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 17:51:03 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 17:51:03 +0000 |
commit | 1732340bfa11a27619e816c8b689d352392b8dce (patch) | |
tree | 5323f02d3cc992de1cc20d6952e10a826b0f70c9 /llvm/lib/Transforms/IPO/PruneEH.cpp | |
parent | e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4 (diff) | |
download | bcm5719-llvm-1732340bfa11a27619e816c8b689d352392b8dce.tar.gz bcm5719-llvm-1732340bfa11a27619e816c8b689d352392b8dce.zip |
IPO: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250187
Diffstat (limited to 'llvm/lib/Transforms/IPO/PruneEH.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/PruneEH.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/PruneEH.cpp b/llvm/lib/Transforms/IPO/PruneEH.cpp index b2f1010c9a0..a0b74056369 100644 --- a/llvm/lib/Transforms/IPO/PruneEH.cpp +++ b/llvm/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; |