mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
s/getInnerUnwindDest/getInnerResumeDest/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149328 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -71,7 +71,7 @@ namespace {
|
|||||||
return OuterResumeDest;
|
return OuterResumeDest;
|
||||||
}
|
}
|
||||||
|
|
||||||
BasicBlock *getInnerUnwindDest();
|
BasicBlock *getInnerResumeDest();
|
||||||
|
|
||||||
LandingPadInst *getLandingPadInst() const { return CallerLPad; }
|
LandingPadInst *getLandingPadInst() const { return CallerLPad; }
|
||||||
|
|
||||||
@@ -99,8 +99,8 @@ namespace {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getInnerUnwindDest - Get or create a target for the branch from ResumeInsts.
|
/// getInnerResumeDest - Get or create a target for the branch from ResumeInsts.
|
||||||
BasicBlock *InvokeInliningInfo::getInnerUnwindDest() {
|
BasicBlock *InvokeInliningInfo::getInnerResumeDest() {
|
||||||
if (InnerResumeDest) return InnerResumeDest;
|
if (InnerResumeDest) return InnerResumeDest;
|
||||||
|
|
||||||
// Split the landing pad.
|
// Split the landing pad.
|
||||||
@@ -139,7 +139,7 @@ BasicBlock *InvokeInliningInfo::getInnerUnwindDest() {
|
|||||||
/// branch. When there is more than one predecessor, we need to split the
|
/// branch. When there is more than one predecessor, we need to split the
|
||||||
/// landing pad block after the landingpad instruction and jump to there.
|
/// landing pad block after the landingpad instruction and jump to there.
|
||||||
void InvokeInliningInfo::forwardResume(ResumeInst *RI) {
|
void InvokeInliningInfo::forwardResume(ResumeInst *RI) {
|
||||||
BasicBlock *Dest = getInnerUnwindDest();
|
BasicBlock *Dest = getInnerResumeDest();
|
||||||
BasicBlock *Src = RI->getParent();
|
BasicBlock *Src = RI->getParent();
|
||||||
|
|
||||||
BranchInst::Create(Dest, Src);
|
BranchInst::Create(Dest, Src);
|
||||||
|
Reference in New Issue
Block a user