diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-02-02 13:11:48 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-02-02 13:11:48 +0000 |
| commit | cd82e02e84df5f9f2f3082d865beae25217af2a1 (patch) | |
| tree | 84f4e30347538847f33231a44f094bdae7fb52d9 /py/runtime0.h | |
| parent | 48697f1dd2fbf45fda6de4277de976c23e7d8302 (diff) | |
py: Partially fix native emitter to work with latest runtime.
Native emitter has been broken since stack order has changed from
reverse to standard. This fix gets it partially working.
Diffstat (limited to 'py/runtime0.h')
| -rw-r--r-- | py/runtime0.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/py/runtime0.h b/py/runtime0.h index 9edf7ec0e..33fd80e64 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -62,6 +62,7 @@ typedef enum { RT_F_STORE_SUBSCR, RT_F_IS_TRUE, RT_F_UNARY_OP, + RT_F_BINARY_OP, RT_F_BUILD_TUPLE, RT_F_BUILD_LIST, RT_F_LIST_APPEND, @@ -70,9 +71,8 @@ typedef enum { RT_F_BUILD_SET, RT_F_STORE_SET, RT_F_MAKE_FUNCTION_FROM_ID, - RT_F_CALL_FUNCTION_N, - RT_F_CALL_METHOD_N, - RT_F_BINARY_OP, + RT_F_CALL_FUNCTION_N_KW_FOR_NATIVE, + RT_F_CALL_METHOD_N_KW, RT_F_GETITER, RT_F_ITERNEXT, RT_F_NUMBER_OF, |
