aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-01-31 01:48:40 +0000
committerBill Wendling <isanbard@gmail.com>2012-01-31 01:48:40 +0000
commit3fd879dde2d6e72e4e6adf8171112544303a6ccf (patch)
tree07d12cb40f918e786d25f9124724640cd5d95a6b /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent006bfc91e8145a10e45d647352186015550c8d06 (diff)
downloadllvm-3fd879dde2d6e72e4e6adf8171112544303a6ccf.zip
llvm-3fd879dde2d6e72e4e6adf8171112544303a6ccf.tar.gz
llvm-3fd879dde2d6e72e4e6adf8171112544303a6ccf.tar.bz2
s/getInnerUnwindDest/getInnerResumeDest/g
llvm-svn: 149328
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index 50c4eaa..42b44a4 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -71,7 +71,7 @@ namespace {
return OuterResumeDest;
}
- BasicBlock *getInnerUnwindDest();
+ BasicBlock *getInnerResumeDest();
LandingPadInst *getLandingPadInst() const { return CallerLPad; }
@@ -99,8 +99,8 @@ namespace {
};
}
-/// getInnerUnwindDest - Get or create a target for the branch from ResumeInsts.
-BasicBlock *InvokeInliningInfo::getInnerUnwindDest() {
+/// getInnerResumeDest - Get or create a target for the branch from ResumeInsts.
+BasicBlock *InvokeInliningInfo::getInnerResumeDest() {
if (InnerResumeDest) return InnerResumeDest;
// Split the landing pad.
@@ -139,7 +139,7 @@ BasicBlock *InvokeInliningInfo::getInnerUnwindDest() {
/// 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 = getInnerUnwindDest();
+ BasicBlock *Dest = getInnerResumeDest();
BasicBlock *Src = RI->getParent();
BranchInst::Create(Dest, Src);