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
073c5f3a
Commit
073c5f3a
authored
Dec 20, 2019
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py/profile: Fix debug opcode decoding of MP_BC_RAISE_xxx opcodes.
parent
95473980
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
py/profile.c
py/profile.c
+10
-4
No files found.
py/profile.c
View file @
073c5f3a
...
...
@@ -875,10 +875,16 @@ STATIC const byte *mp_prof_opcode_decode(const byte *ip, const mp_uint_t *const_
instruction
->
qstr_opname
=
MP_QSTR_RETURN_VALUE
;
break
;
case
MP_BC_RAISE_VARARGS
:
unum
=
*
ip
++
;
instruction
->
qstr_opname
=
MP_QSTR_RAISE_VARARGS
;
instruction
->
arg
=
unum
;
case
MP_BC_RAISE_LAST
:
instruction
->
qstr_opname
=
MP_QSTR_RAISE_LAST
;
break
;
case
MP_BC_RAISE_OBJ
:
instruction
->
qstr_opname
=
MP_QSTR_RAISE_OBJ
;
break
;
case
MP_BC_RAISE_FROM
:
instruction
->
qstr_opname
=
MP_QSTR_RAISE_FROM
;
break
;
case
MP_BC_YIELD_VALUE
:
...
...
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