mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
s/getInnerUnwindDest/getInnerResumeDest/g
llvm-svn: 149328
This commit is contained in:
parent
0b1a8d62d4
commit
0e5559bc4d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user