Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
6d20be31
Commit
6d20be31
authored
Sep 27, 2018
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py/vm: Reword TODO about invalid ip/sp after an exception to a note.
parent
04f7da78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
py/vm.c
py/vm.c
+1
-1
No files found.
py/vm.c
View file @
6d20be31
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment