Skip to content

Commit c271359

Browse files
committed
py/emit.h: Remove long-obsolete declarations for cpython emitter.
1 parent adf3cb5 commit c271359

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

py/emit.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ void mp_emit_common_get_id_for_load(scope_t *scope, qstr qst);
149149
void mp_emit_common_get_id_for_modification(scope_t *scope, qstr qst);
150150
void mp_emit_common_id_op(emit_t *emit, const mp_emit_method_table_id_ops_t *emit_method_table, scope_t *scope, qstr qst);
151151

152-
extern const emit_method_table_t emit_cpython_method_table;
153152
extern const emit_method_table_t emit_bc_method_table;
154153
extern const emit_method_table_t emit_native_x64_method_table;
155154
extern const emit_method_table_t emit_native_x86_method_table;
@@ -160,17 +159,14 @@ extern const mp_emit_method_table_id_ops_t mp_emit_bc_method_table_load_id_ops;
160159
extern const mp_emit_method_table_id_ops_t mp_emit_bc_method_table_store_id_ops;
161160
extern const mp_emit_method_table_id_ops_t mp_emit_bc_method_table_delete_id_ops;
162161

163-
emit_t *emit_cpython_new(void);
164162
emit_t *emit_bc_new(void);
165163
emit_t *emit_native_x64_new(mp_obj_t *error_slot, mp_uint_t max_num_labels);
166164
emit_t *emit_native_x86_new(mp_obj_t *error_slot, mp_uint_t max_num_labels);
167165
emit_t *emit_native_thumb_new(mp_obj_t *error_slot, mp_uint_t max_num_labels);
168166
emit_t *emit_native_arm_new(mp_obj_t *error_slot, mp_uint_t max_num_labels);
169167

170-
void emit_cpython_set_max_num_labels(emit_t* emit, mp_uint_t max_num_labels);
171168
void emit_bc_set_max_num_labels(emit_t* emit, mp_uint_t max_num_labels);
172169

173-
void emit_cpython_free(emit_t *emit);
174170
void emit_bc_free(emit_t *emit);
175171
void emit_native_x64_free(emit_t *emit);
176172
void emit_native_x86_free(emit_t *emit);

0 commit comments

Comments
 (0)