diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-17 15:27:37 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-16 18:38:06 +1100 |
commit | 088740ecc40476fd0796a3ef6a68ee7c677eae64 (patch) | |
tree | 97284e7a795fbf6e0a196bbe56234d7fff5fc74b /py/runtime0.h | |
parent | 6e769da0da2ae24cbdab50c57f0d088e137146e3 (diff) | |
download | micropython-088740ecc40476fd0796a3ef6a68ee7c677eae64.tar.gz micropython-088740ecc40476fd0796a3ef6a68ee7c677eae64.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/runtime0.h b/py/runtime0.h index 8d62403a7c..b1ed710262 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, |