py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr.

mp_obj_t->subscr now does load/store/delete.
This commit is contained in:
Damien George
2014-04-17 22:10:53 +01:00
parent de7c425139
commit 729f7b42d6
24 changed files with 206 additions and 148 deletions

View File

@@ -23,6 +23,7 @@
#define MP_BC_LOAD_ATTR (0x28) // qstr
#define MP_BC_LOAD_METHOD (0x29) // qstr
#define MP_BC_LOAD_BUILD_CLASS (0x2a)
#define MP_BC_LOAD_SUBSCR (0x2b)
#define MP_BC_STORE_FAST_0 (0x30)
#define MP_BC_STORE_FAST_1 (0x31)