py: Implement closures in native code generator.

Currently supports only x64 and Thumb2 archs.
This commit is contained in:
Damien George
2015-01-15 14:41:41 +00:00
parent 2cc5473021
commit 4cd9ced8dc
5 changed files with 61 additions and 23 deletions

View File

@@ -148,6 +148,8 @@ typedef enum {
MP_F_UNPACK_EX,
MP_F_DELETE_NAME,
MP_F_DELETE_GLOBAL,
MP_F_NEW_CELL,
MP_F_MAKE_CLOSURE_FROM_RAW_CODE,
MP_F_NUMBER_OF,
} mp_fun_kind_t;