@@ -95,7 +95,7 @@ bool StackNesting::solve() {
95
95
// unreachable instructions (otherwise the backward data flow would be
96
96
// sufficient). The special thing about unreachable-blocks is that it's
97
97
// okay to have alive locations at that point, i.e. locations which are never
98
- // dealloced. We cannot get such locations with a purly backward dataflow.
98
+ // dealloced. We cannot get such locations with a purely backward dataflow.
99
99
do {
100
100
changed = false ;
101
101
@@ -120,7 +120,7 @@ bool StackNesting::solve() {
120
120
} while (changed);
121
121
122
122
// Second step: do a backward dataflow analysis to extend the lifetimes of
123
- // no properly nested allocations.
123
+ // not properly nested allocations.
124
124
do {
125
125
changed = false ;
126
126
@@ -151,7 +151,7 @@ bool StackNesting::solve() {
151
151
int BitNr = bitNumberForAlloc (StackInst);
152
152
if (Bits != StackLocs[BitNr].AliveLocs ) {
153
153
// More locations are alive around the StackInst's location.
154
- // Update the AlivaLocs bitset, which contains all those alive
154
+ // Update the AliveLocs bitset, which contains all those alive
155
155
// locations.
156
156
assert (Bits.test (BitNr) && " no dealloc found for alloc stack" );
157
157
StackLocs[BitNr].AliveLocs = Bits;
@@ -317,7 +317,7 @@ StackNesting::Changes StackNesting::fixNesting(SILFunction *F) {
317
317
return Changes::None;
318
318
319
319
// Insert deallocs at block boundaries. This might be necessary in CFG sub
320
- // graphs which don't reach a function exit, but only an unreachable.
320
+ // graphs which don't reach a function exit, but only an unreachable.
321
321
changes = SN.insertDeallocsAtBlockBoundaries ();
322
322
if (changes == Changes::None) {
323
323
// Do the real work: extend lifetimes by moving deallocs.
0 commit comments