summaryrefslogtreecommitdiff
path: root/py/showbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/showbc.c')
-rw-r--r--py/showbc.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/py/showbc.c b/py/showbc.c
index 8b97c8def..78b5b0141 100644
--- a/py/showbc.c
+++ b/py/showbc.c
@@ -500,9 +500,16 @@ const byte *mp_bytecode_print_str(const byte *ip) {
printf("RETURN_VALUE");
break;
- case MP_BC_RAISE_VARARGS:
- unum = *ip++;
- printf("RAISE_VARARGS " UINT_FMT, unum);
+ case MP_BC_RAISE_LAST:
+ printf("RAISE_LAST");
+ break;
+
+ case MP_BC_RAISE_OBJ:
+ printf("RAISE_OBJ");
+ break;
+
+ case MP_BC_RAISE_FROM:
+ printf("RAISE_FROM");
break;
case MP_BC_YIELD_VALUE: