diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-11 21:52:27 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-11 21:52:27 +0100 |
commit | 55fe92bb8f26d93015f87ceff2ac657a135b8ee4 (patch) | |
tree | 1e91fad4be41fa315857f865eb6fcb6c23145bdf /py | |
parent | 7a6dbaa89b9768d5e4a51ea63d55e18e72614dd7 (diff) | |
download | micropython-55fe92bb8f26d93015f87ceff2ac657a135b8ee4.tar.gz micropython-55fe92bb8f26d93015f87ceff2ac657a135b8ee4.zip |
py: Remove old debugging printf's in compile.c.
Diffstat (limited to 'py')
-rw-r--r-- | py/compile.c | 8 |
1 files changed, 0 insertions, 8 deletions
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]; |