mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SILOptimizer: Use BasicBlockData in the StackNesting utility
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user