aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-01-31 01:15:59 +0000
committerBill Wendling <isanbard@gmail.com>2012-01-31 01:15:59 +0000
commitfd3adbb31a2745e18d8964d3db02d4d5879202af (patch)
treec64cee419d3cc7720c20bc87414b9ef9ed4a864e
parent9e9a34c5688500eee47d6a7800c6e9ef93b90684 (diff)
downloadexternal_llvm-fd3adbb31a2745e18d8964d3db02d4d5879202af.zip
external_llvm-fd3adbb31a2745e18d8964d3db02d4d5879202af.tar.gz
external_llvm-fd3adbb31a2745e18d8964d3db02d4d5879202af.tar.bz2
s/getInnerUnwindDestNewEH/getInnerUnwindDest/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149317 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 6da8d6e..9bb1e65 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -291,8 +291,7 @@ namespace {
return OuterSelector;
}
- // FIXME: New EH - Rename when new EH is turned on.
- BasicBlock *getInnerUnwindDestNewEH();
+ BasicBlock *getInnerUnwindDest();
LandingPadInst *getLandingPadInst() const { return CallerLPad; }
@@ -321,7 +320,7 @@ namespace {
}
/// getInnerUnwindDest - Get or create a target for the branch from ResumeInsts.
-BasicBlock *InvokeInliningInfo::getInnerUnwindDestNewEH() {
+BasicBlock *InvokeInliningInfo::getInnerUnwindDest() {
if (InnerResumeDest) return InnerResumeDest;
// Split the landing pad.
@@ -360,7 +359,7 @@ BasicBlock *InvokeInliningInfo::getInnerUnwindDestNewEH() {
/// branch. When there is more than one predecessor, we need to split the
/// landing pad block after the landingpad instruction and jump to there.
void InvokeInliningInfo::forwardResume(ResumeInst *RI) {
- BasicBlock *Dest = getInnerUnwindDestNewEH();
+ BasicBlock *Dest = getInnerUnwindDest();
BasicBlock *Src = RI->getParent();
BranchInst::Create(Dest, Src);