From 866d14b5150c356718916fe8b7cfac45aea283ce Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Sun, 10 Aug 2025 23:05:24 -0400 Subject: remove some debug printfs --- main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6134efa..a4d1b51 100644 --- a/main.c +++ b/main.c @@ -226,7 +226,6 @@ void merge_scope(Lexer *l, Proc *p, Node *region, ScopeNameList *before, ScopeNa if (yes->node == b4->node && no->node == b4->node) continue; phi = node_new(p, N_PHI, region, yes->node, no->node); } - fprintf(stderr, "phi('%.*s', %d, %d)\n", (int)b4->name.n, b4->name.s, phi->in.data[1]->id, phi->in.data[2]->id); phi = node_peephole(phi, p, l); NameBinding *b = scope_find(&p->scope, b4->name); assert(b); @@ -406,7 +405,6 @@ Node *find_return(Node *n) { } void proc_opt_fwd(Proc *p, Lexer *l, Node *n) { - fprintf(stderr, "%d %s\n", n->id, node_type_name(n->op)); if (n->walked == 2) return; n->walked = 2; switch (n->op) { @@ -457,7 +455,6 @@ void proc_opt_fwd(Proc *p, Lexer *l, Node *n) { } void proc_opt(Proc *p, Lexer *l) { - fprintf(stderr, "%ld\n", p->stop->in.len); if (p->stop->in.len == 0) { if (p->ret_type.t != T_NONE) { -- cgit v1.2.3