py/profile: Fix debug opcode decoding of MP_BC_RAISE_xxx opcodes.
This commit is contained in:
parent
95473980ef
commit
073c5f3a40
14
py/profile.c
14
py/profile.c
@ -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;
|
instruction->qstr_opname = MP_QSTR_RETURN_VALUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MP_BC_RAISE_VARARGS:
|
case MP_BC_RAISE_LAST:
|
||||||
unum = *ip++;
|
instruction->qstr_opname = MP_QSTR_RAISE_LAST;
|
||||||
instruction->qstr_opname = MP_QSTR_RAISE_VARARGS;
|
break;
|
||||||
instruction->arg = unum;
|
|
||||||
|
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;
|
break;
|
||||||
|
|
||||||
case MP_BC_YIELD_VALUE:
|
case MP_BC_YIELD_VALUE:
|
||||||
|
Loading…
Reference in New Issue
Block a user