diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 07:15:17 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-10 07:15:17 +0000 |
commit | db82d2f33827dc44dc0076ad26a1a0f4638719c5 (patch) | |
tree | 426d1932604bec0dc540456540d91402c644e66a /llvm/lib/IR/BasicBlock.cpp | |
parent | 0f70ee9017d080e5a068647a8e3717c483c4c51b (diff) | |
download | bcm5719-llvm-db82d2f33827dc44dc0076ad26a1a0f4638719c5.tar.gz bcm5719-llvm-db82d2f33827dc44dc0076ad26a1a0f4638719c5.zip |
Revert the new EH instructions
This reverts commits r241888-r241891, I didn't mean to commit them.
llvm-svn: 241893
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
-rw-r--r-- | llvm/lib/IR/BasicBlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/BasicBlock.cpp b/llvm/lib/IR/BasicBlock.cpp index 658c5e24216..0a0449434a7 100644 --- a/llvm/lib/IR/BasicBlock.cpp +++ b/llvm/lib/IR/BasicBlock.cpp @@ -197,7 +197,7 @@ BasicBlock::iterator BasicBlock::getFirstInsertionPt() { return end(); iterator InsertPt = FirstNonPHI; - if (InsertPt->isEHBlock()) ++InsertPt; + if (isa<LandingPadInst>(InsertPt)) ++InsertPt; return InsertPt; } |