Commit 6d20be31 authored by Damien George's avatar Damien George

py/vm: Reword TODO about invalid ip/sp after an exception to a note.

parent 04f7da78
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment