summaryrefslogtreecommitdiff
path: root/py/showbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-11 23:26:18 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-11 23:26:18 +0100
commitc42e4b6c5364eae3c3db23627d2b3c661c0c2580 (patch)
tree18c864fad94f94bbbab936594c6ff545c01cf72d /py/showbc.c
parent8b19db00aa78e13793185b8734840c88c2938d5b (diff)
parentb9b1c00c8af9e4d654aed30f8f98875657f14891 (diff)
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'py/showbc.c')
-rw-r--r--py/showbc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/py/showbc.c b/py/showbc.c
index c1e420f43..08dec1e2b 100644
--- a/py/showbc.c
+++ b/py/showbc.c
@@ -101,11 +101,20 @@ void mp_byte_code_print(const byte *ip, int len) {
printf("LOAD_CONST_ID %s", qstr_str(qstr));
break;
+ case MP_BC_LOAD_CONST_BYTES:
+ DECODE_QSTR;
+ printf("LOAD_CONST_BYTES %s", qstr_str(qstr));
+ break;
+
case MP_BC_LOAD_CONST_STRING:
DECODE_QSTR;
printf("LOAD_CONST_STRING %s", qstr_str(qstr));
break;
+ case MP_BC_LOAD_NULL:
+ printf("LOAD_NULL");
+ break;
+
case MP_BC_LOAD_FAST_0:
printf("LOAD_FAST_0");
break;