aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commit13b1c31412372ef3790934ca213546fec595fbbc (patch)
treedd47319b1460e2dee632ca76de16b11cfcd2ac0b /lib
parent9a5c0e8d9378d11cb5250265cf521db32968a56e (diff)
downloadexternal_llvm-13b1c31412372ef3790934ca213546fec595fbbc.zip
external_llvm-13b1c31412372ef3790934ca213546fec595fbbc.tar.gz
external_llvm-13b1c31412372ef3790934ca213546fec595fbbc.tar.bz2
s/getInnerUnwindDest/getInnerResumeDest/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 50c4eaa..42b44a4 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/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);