aboutsummaryrefslogtreecommitdiff
path: root/py/vm.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-20 14:57:06 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-20 14:57:06 +1100
commit95473980ef350174095887451d80690657f3315a (patch)
treeae916d9d9d1620be65d5945b72f9c8484ee7f121 /py/vm.c
parent7ac326c4240776b20cd80956d5e1f6c005c4dc5b (diff)
py/vm: Fix comment to refer to MP_BC_RAISE_OBJ instead of RAISE_VARARGS.
Diffstat (limited to 'py/vm.c')
-rw-r--r--py/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/vm.c b/py/vm.c
index 7c702f386..11dbffaff 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -269,7 +269,7 @@ outer_dispatch_loop:
MICROPY_VM_HOOK_INIT
// 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.
// Injecting exc into yield from generator is a special case,
// handled by MP_BC_YIELD_FROM itself