aboutsummaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-17 15:27:37 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-16 18:38:06 +1100
commit088740ecc40476fd0796a3ef6a68ee7c677eae64 (patch)
tree97284e7a795fbf6e0a196bbe56234d7fff5fc74b /py/runtime0.h
parent6e769da0da2ae24cbdab50c57f0d088e137146e3 (diff)
py: Optimise storage of iterator so it takes only 4 slots on Py stack.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h4
1 files changed, 2 insertions, 2 deletions
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,