summaryrefslogtreecommitdiff
path: root/py/vm.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-27 15:17:37 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-27 15:17:37 +1000
commit6d20be31aee832017982faeb2c349f65030ddd27 (patch)
tree1399ee6421829afbd90c67bbb53b1c2dcaa1492d /py/vm.c
parent04f7da78dba7c37846a70ac108317e631950efc0 (diff)
py/vm: Reword TODO about invalid ip/sp after an exception to a note.
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 6d82824f2..a7c9da0ce 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -1467,7 +1467,7 @@ unwind_loop:
#endif
} else {
// propagate exception to higher level
- // TODO what to do about ip and sp? they don't really make sense at this point
+ // Note: ip and sp don't have usable values at this point
fastn[0] = MP_OBJ_FROM_PTR(nlr.ret_val); // must put exception here because sp is invalid
return MP_VM_RETURN_EXCEPTION;
}