From 660365e14c7205581f38cf61923a7a88a84f893f Mon Sep 17 00:00:00 2001 From: Damien Date: Tue, 17 Dec 2013 18:27:24 +0000 Subject: py: split runtime into map, obj, builtin. --- py/vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/vm.c') diff --git a/py/vm.c b/py/vm.c index 55c7bd30c..7db6a7d9c 100644 --- a/py/vm.c +++ b/py/vm.c @@ -122,7 +122,7 @@ bool py_execute_byte_code_2(const byte **ip_in_out, py_obj_t *fastn, py_obj_t ** case PYBC_LOAD_DEREF: DECODE_UINT; - PUSH(py_obj_get_cell(fastn[unum])); + PUSH(rt_get_cell(fastn[unum])); break; case PYBC_LOAD_CLOSURE: @@ -174,7 +174,7 @@ bool py_execute_byte_code_2(const byte **ip_in_out, py_obj_t *fastn, py_obj_t ** case PYBC_STORE_DEREF: DECODE_UINT; - py_obj_set_cell(fastn[unum], POP()); + rt_set_cell(fastn[unum], POP()); break; case PYBC_STORE_NAME: -- cgit v1.2.3