mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Rename references to SILPHIArgument => SILPhiArgument.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user