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

@@ -1000,7 +1000,7 @@ runOnFunctionRecursively(SILOptFunctionBuilder &FuncBuilder, SILFunction *F,
}
if (invalidatedStackNesting) {
StackNesting().correctStackNesting(F);
StackNesting::fixNesting(F);
changedFunctions.insert(F);
}