summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-06 20:31:32 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-06 20:31:32 +0000
commitddaf6c112c22e77f3aff5b98ede077d88e76fc0a (patch)
tree628754225472a729197c2d188988ab5b02824c44
parentbbcd49a4964eccfa525a47bf819721911b1be047 (diff)
downloadmicropython-ddaf6c112c22e77f3aff5b98ede077d88e76fc0a.tar.gz
micropython-ddaf6c112c22e77f3aff5b98ede077d88e76fc0a.zip
py: More output in showbc.
-rw-r--r--py/showbc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/py/showbc.c b/py/showbc.c
index d765c81a5f..9dfbc88721 100644
--- a/py/showbc.c
+++ b/py/showbc.c
@@ -170,6 +170,16 @@ void mp_byte_code_print(const byte *ip, int len) {
printf("STORE_SUBSCR");
break;
+ case MP_BC_DELETE_FAST_N:
+ DECODE_UINT;
+ printf("DELETE_FAST_N " UINT_FMT, unum);
+ break;
+
+ case MP_BC_DELETE_NAME:
+ DECODE_QSTR;
+ printf("DELETE_NAME %s", qstr_str(qstr));
+ break;
+
case MP_BC_DUP_TOP:
printf("DUP_TOP");
break;