SILOptimizer: Use BasicBlockData in the StackNesting utility

This commit is contained in:
Erik Eckstein
2021-01-15 18:38:30 +01:00
parent 273bd35061
commit cf17fd4df4
11 changed files with 126 additions and 143 deletions

View File

@@ -927,7 +927,7 @@ void ClosureSpecCloner::populateCloned() {
}
}
if (invalidatedStackNesting) {
StackNesting().correctStackNesting(Cloned);
StackNesting::fixNesting(Cloned);
}
}
@@ -992,7 +992,7 @@ void SILClosureSpecializerTransform::run() {
}
if (invalidatedStackNesting) {
StackNesting().correctStackNesting(F);
StackNesting::fixNesting(F);
}
}