Skip to content

Commit 55fe92b

Browse files
committed
py: Remove old debugging printf's in compile.c.
1 parent 7a6dbaa commit 55fe92b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

py/compile.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ STATIC mp_parse_node_t fold_constants(compiler_t *comp, mp_parse_node_t pn, mp_m
268268
arg0 -= arg1;
269269
}
270270
if (MP_SMALL_INT_FITS(arg0)) {
271-
//printf("%ld + %ld\n", arg0, arg1);
272271
pn = mp_parse_node_new_leaf(MP_PARSE_NODE_SMALL_INT, arg0);
273272
}
274273
}
@@ -3433,13 +3432,6 @@ STATIC void compile_scope_inline_asm(compiler_t *comp, scope_t *scope, pass_kind
34333432
mp_parse_node_t *nodes;
34343433
int num = mp_parse_node_extract_list(&pn_body, PN_suite_block_stmts, &nodes);
34353434

3436-
/*
3437-
if (comp->pass == MP_PASS_EMIT) {
3438-
//printf("----\n");
3439-
scope_print_info(scope);
3440-
}
3441-
*/
3442-
34433435
for (int i = 0; i < num; i++) {
34443436
assert(MP_PARSE_NODE_IS_STRUCT(nodes[i]));
34453437
mp_parse_node_struct_t *pns2 = (mp_parse_node_struct_t*)nodes[i];

0 commit comments

Comments
 (0)