mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename SILCloner doPostProcess and foldValue to recordClonedInstruction and recordFoldedValue.
This commit is contained in:
@@ -726,7 +726,7 @@ void PromotedParamCloner::visitProjectBoxInst(ProjectBoxInst *Inst) {
|
||||
// Its uses will be replaced by the promoted address.
|
||||
if (OrigPromotedParameters.count(Inst->getOperand())) {
|
||||
auto *origArg = cast<SILFunctionArgument>(Inst->getOperand());
|
||||
foldValue(Inst, NewPromotedArgs[origArg->getIndex()]);
|
||||
recordFoldedValue(Inst, NewPromotedArgs[origArg->getIndex()]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user