File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -257,10 +257,10 @@ Coroutine Transformation
257
257
One of the steps of coroutine lowering is building the coroutine frame. The
258
258
def-use chains are analyzed to determine which objects need be kept alive across
259
259
suspend points. In the coroutine shown in the previous section, use of virtual register
260
- `%n.val ` is separated from the definition by a suspend point, therefore, it
260
+ `%inc ` is separated from the definition by a suspend point, therefore, it
261
261
cannot reside on the stack frame since the latter goes away once the coroutine
262
262
is suspended and control is returned back to the caller. An i32 slot is
263
- allocated in the coroutine frame and `%n.val ` is spilled and reloaded from that
263
+ allocated in the coroutine frame and `%inc ` is spilled and reloaded from that
264
264
slot as needed.
265
265
266
266
We also store addresses of the resume and destroy functions so that the
You can’t perform that action at this time.
0 commit comments