From e6c0dff9671c493e9a13a22a1b8902dee88da064 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 15 Aug 2014 23:47:59 +0100 Subject: py: Viper can now store to global. --- py/runtime0.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'py/runtime0.h') diff --git a/py/runtime0.h b/py/runtime0.h index 01504f59c..dfce041b8 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -102,7 +102,9 @@ typedef enum { } mp_binary_op_t; typedef enum { - MP_F_LOAD_CONST_INT = 0, + MP_F_CONVERT_OBJ_TO_NATIVE = 0, + MP_F_CONVERT_NATIVE_TO_OBJ, + MP_F_LOAD_CONST_INT, MP_F_LOAD_CONST_DEC, MP_F_LOAD_CONST_STR, MP_F_LOAD_NAME, @@ -111,6 +113,7 @@ typedef enum { MP_F_LOAD_ATTR, MP_F_LOAD_METHOD, MP_F_STORE_NAME, + MP_F_STORE_GLOBAL, MP_F_STORE_ATTR, MP_F_OBJ_SUBSCR, MP_F_OBJ_IS_TRUE, -- cgit v1.2.3