summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-20 17:12:09 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-20 17:12:09 +0000
commit8e9a71257dbbd60881f74f897b6447e457937063 (patch)
tree0eaecaf89b9011351d73a75e8cc16c3004fd0981
parent3425431370ea138b7283a9e631a873f0949067a3 (diff)
downloadmicropython-8e9a71257dbbd60881f74f897b6447e457937063.tar.gz
micropython-8e9a71257dbbd60881f74f897b6447e457937063.zip
py: Implement DELETE_GLOBAL in showbc.c.
-rw-r--r--py/showbc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/showbc.c b/py/showbc.c
index adfa7544fd..3a468326db 100644
--- a/py/showbc.c
+++ b/py/showbc.c
@@ -275,6 +275,11 @@ const byte *mp_bytecode_print_str(const byte *ip) {
printf("DELETE_NAME %s", qstr_str(qst));
break;
+ case MP_BC_DELETE_GLOBAL:
+ DECODE_QSTR;
+ printf("DELETE_GLOBAL %s", qstr_str(qst));
+ break;
+
case MP_BC_DUP_TOP:
printf("DUP_TOP");
break;