diff options
author | Damien George <damien.p.george@gmail.com> | 2018-09-27 15:17:37 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-27 15:17:37 +1000 |
commit | 6d20be31aee832017982faeb2c349f65030ddd27 (patch) | |
tree | 1399ee6421829afbd90c67bbb53b1c2dcaa1492d /py | |
parent | 04f7da78dba7c37846a70ac108317e631950efc0 (diff) |
py/vm: Reword TODO about invalid ip/sp after an exception to a note.
Diffstat (limited to 'py')
-rw-r--r-- | py/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |