From f2ecfe8b83b4efe24d721778e324a31237653627 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 1 Nov 2019 17:26:10 +1100 Subject: [PATCH] py/nativeglue: Remove unused mp_obj_new_cell from mp_fun_table. It has been unused since 9988618e0e0f5c319e31b135d993e22efb593093 --- py/emitnx86.c | 1 - py/nativeglue.c | 1 - py/runtime0.h | 1 - 3 files changed, 3 deletions(-) diff --git a/py/emitnx86.c b/py/emitnx86.c index 7c96c3b82b..0122e46bab 100644 --- a/py/emitnx86.c +++ b/py/emitnx86.c @@ -60,7 +60,6 @@ STATIC byte mp_f_n_args[MP_F_NUMBER_OF] = { [MP_F_UNPACK_EX] = 3, [MP_F_DELETE_NAME] = 1, [MP_F_DELETE_GLOBAL] = 1, - [MP_F_NEW_CELL] = 1, [MP_F_MAKE_CLOSURE_FROM_RAW_CODE] = 3, [MP_F_ARG_CHECK_NUM_SIG] = 3, [MP_F_SETUP_CODE_STATE] = 4, diff --git a/py/nativeglue.c b/py/nativeglue.c index 4405b2d116..08fbd3c309 100644 --- a/py/nativeglue.c +++ b/py/nativeglue.c @@ -259,7 +259,6 @@ const void *const mp_fun_table[MP_F_NUMBER_OF] = { mp_unpack_ex, mp_delete_name, mp_delete_global, - mp_obj_new_cell, mp_make_closure_from_raw_code, mp_arg_check_num_sig, mp_setup_code_state, diff --git a/py/runtime0.h b/py/runtime0.h index 364f237f66..f588110c0d 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -196,7 +196,6 @@ 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_ARG_CHECK_NUM_SIG, MP_F_SETUP_CODE_STATE,