summaryrefslogtreecommitdiff
path: root/py/showbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-17 22:10:53 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-17 22:10:53 +0100
commit729f7b42d65c016c9d5f27fb8a8122869f06c129 (patch)
tree8d8d8c2a89ff9011b06650c256a2d5f2458c930c /py/showbc.c
parentde7c425139c92745280b62f7ebb756def96d072a (diff)
py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr.
mp_obj_t->subscr now does load/store/delete.
Diffstat (limited to 'py/showbc.c')
-rw-r--r--py/showbc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/showbc.c b/py/showbc.c
index d755d3c96..bf25966e9 100644
--- a/py/showbc.c
+++ b/py/showbc.c
@@ -182,6 +182,10 @@ void mp_byte_code_print(const byte *ip, int len) {
printf("LOAD_BUILD_CLASS");
break;
+ case MP_BC_LOAD_SUBSCR:
+ printf("LOAD_SUBSCR");
+ break;
+
case MP_BC_STORE_FAST_0:
printf("STORE_FAST_0");
break;