From 4cd9ced8dc381ee6601cfd762f87ab02d9e18cb7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 15 Jan 2015 14:41:41 +0000 Subject: py: Implement closures in native code generator. Currently supports only x64 and Thumb2 archs. --- py/runtime0.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py/runtime0.h') diff --git a/py/runtime0.h b/py/runtime0.h index b96e9c384..6fddace35 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -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; -- cgit v1.2.3