From 55fe92bb8f26d93015f87ceff2ac657a135b8ee4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 11 Apr 2015 21:52:27 +0100 Subject: py: Remove old debugging printf's in compile.c. --- py/compile.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'py') diff --git a/py/compile.c b/py/compile.c index aa02ed22d4..6dc39b1dcc 100644 --- a/py/compile.c +++ b/py/compile.c @@ -268,7 +268,6 @@ STATIC mp_parse_node_t fold_constants(compiler_t *comp, mp_parse_node_t pn, mp_m arg0 -= arg1; } if (MP_SMALL_INT_FITS(arg0)) { - //printf("%ld + %ld\n", arg0, arg1); pn = mp_parse_node_new_leaf(MP_PARSE_NODE_SMALL_INT, arg0); } } @@ -3433,13 +3432,6 @@ STATIC void compile_scope_inline_asm(compiler_t *comp, scope_t *scope, pass_kind mp_parse_node_t *nodes; int num = mp_parse_node_extract_list(&pn_body, PN_suite_block_stmts, &nodes); - /* - if (comp->pass == MP_PASS_EMIT) { - //printf("----\n"); - scope_print_info(scope); - } - */ - for (int i = 0; i < num; i++) { assert(MP_PARSE_NODE_IS_STRUCT(nodes[i])); mp_parse_node_struct_t *pns2 = (mp_parse_node_struct_t*)nodes[i]; -- cgit v1.2.3