[gardening] Rename references to SILPHIArgument => SILPhiArgument.

This commit is contained in:
Michael Gottesman
2018-09-25 22:18:43 -07:00
parent b505b62434
commit d57a88af0d
65 changed files with 225 additions and 225 deletions

View File

@@ -123,7 +123,7 @@ bool StackPromotion::tryPromoteAlloc(AllocRefInst *ARI, EscapeAnalysis *EA,
UsePoints.push_back(I);
} else {
// Also block arguments can be use points.
SILBasicBlock *UseBB = cast<SILPHIArgument>(UsePoint)->getParent();
SILBasicBlock *UseBB = cast<SILPhiArgument>(UsePoint)->getParent();
// For simplicity we just add the first instruction of the block as use
// point.
UsePoints.push_back(&UseBB->front());