py/vm: Fix comment to refer to MP_BC_RAISE_OBJ instead of RAISE_VARARGS.
This commit is contained in:
parent
7ac326c424
commit
95473980ef
2
py/vm.c
2
py/vm.c
@ -269,7 +269,7 @@ outer_dispatch_loop:
|
|||||||
MICROPY_VM_HOOK_INIT
|
MICROPY_VM_HOOK_INIT
|
||||||
|
|
||||||
// If we have exception to inject, now that we finish setting up
|
// If we have exception to inject, now that we finish setting up
|
||||||
// execution context, raise it. This works as if RAISE_VARARGS
|
// execution context, raise it. This works as if MP_BC_RAISE_OBJ
|
||||||
// bytecode was executed.
|
// bytecode was executed.
|
||||||
// Injecting exc into yield from generator is a special case,
|
// Injecting exc into yield from generator is a special case,
|
||||||
// handled by MP_BC_YIELD_FROM itself
|
// handled by MP_BC_YIELD_FROM itself
|
||||||
|
Loading…
x
Reference in New Issue
Block a user