@@ -110,7 +110,6 @@ STATIC void emit_write_uint(emit_t *emit, emit_allocator_t allocator, mp_uint_t
110110
111111// all functions must go through this one to emit code info
112112STATIC byte * emit_get_cur_to_write_code_info (emit_t * emit , int num_bytes_to_write ) {
113- //printf("emit %d\n", num_bytes_to_write);
114113 if (emit -> pass < MP_PASS_EMIT ) {
115114 emit -> code_info_offset += num_bytes_to_write ;
116115 return emit -> dummy_data ;
@@ -140,7 +139,6 @@ STATIC void emit_write_code_info_qstr(emit_t *emit, qstr qst) {
140139#if MICROPY_ENABLE_SOURCE_LINE
141140STATIC void emit_write_code_info_bytes_lines (emit_t * emit , mp_uint_t bytes_to_skip , mp_uint_t lines_to_skip ) {
142141 assert (bytes_to_skip > 0 || lines_to_skip > 0 );
143- //printf(" %d %d\n", bytes_to_skip, lines_to_skip);
144142 while (bytes_to_skip > 0 || lines_to_skip > 0 ) {
145143 mp_uint_t b , l ;
146144 if (lines_to_skip <= 6 || bytes_to_skip > 0xf ) {
@@ -169,7 +167,6 @@ STATIC void emit_write_code_info_bytes_lines(emit_t *emit, mp_uint_t bytes_to_sk
169167
170168// all functions must go through this one to emit byte code
171169STATIC byte * emit_get_cur_to_write_bytecode (emit_t * emit , int num_bytes_to_write ) {
172- //printf("emit %d\n", num_bytes_to_write);
173170 if (emit -> pass < MP_PASS_EMIT ) {
174171 emit -> bytecode_offset += num_bytes_to_write ;
175172 return emit -> dummy_data ;
@@ -470,7 +467,6 @@ void mp_emit_bc_adjust_stack_size(emit_t *emit, mp_int_t delta) {
470467}
471468
472469void mp_emit_bc_set_source_line (emit_t * emit , mp_uint_t source_line ) {
473- //printf("source: line %d -> %d offset %d -> %d\n", emit->last_source_line, source_line, emit->last_source_line_offset, emit->bytecode_offset);
474470#if MICROPY_ENABLE_SOURCE_LINE
475471 if (MP_STATE_VM (mp_optimise_value ) >= 3 ) {
476472 // If we compile with -O3, don't store line numbers.
0 commit comments