From 088740ecc40476fd0796a3ef6a68ee7c677eae64 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 17 Jan 2017 15:27:37 +1100 Subject: py: Optimise storage of iterator so it takes only 4 slots on Py stack. --- py/runtime0.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/runtime0.h') diff --git a/py/runtime0.h b/py/runtime0.h index 8d62403a7..b1ed71026 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -127,8 +127,8 @@ typedef enum { MP_F_NATIVE_CALL_FUNCTION_N_KW, MP_F_CALL_METHOD_N_KW, MP_F_CALL_METHOD_N_KW_VAR, - MP_F_GETITER, - MP_F_ITERNEXT, + MP_F_NATIVE_GETITER, + MP_F_NATIVE_ITERNEXT, MP_F_NLR_PUSH, MP_F_NLR_POP, MP_F_NATIVE_RAISE, -- cgit v1.2.3