summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2012-06-14 20:32:39 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-06-14 20:32:39 -0400
commit5d890441270babb8efacbfdf738376aa0279001b (patch)
treee14d37acaf9f1240f9739fb9399ef5d1f1e409ac
parent37b7ac74e89d9924ff85635cb578d6f22e92e169 (diff)
Remove debug spew
-rw-r--r--graph.c4
-rw-r--r--interpret.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/graph.c b/graph.c
index 1bfef56..8ced084 100644
--- a/graph.c
+++ b/graph.c
@@ -33,8 +33,6 @@ graph_function (ast_function_definition_t *function)
if (function->enter)
return;
- g_print ("graphing function %p (%s)\n", function, function->name);
-
function->enter = node_new_prolog (NULL, ast);
function->end = node_new_nop (NULL, ast);
function->exit = node_new_label (NULL, ast);
@@ -724,9 +722,7 @@ graph_statement (ast_statement_t *statement,
g_assert (function);
node = graph_expression (statement->return_.expr, node);
- g_print ("expr: %p\n", node);
node = node_new_goto (&function->exit->label, node, ast);
- g_print ("goto: %p\n", node);
break;
case AST_DEFINITION_STATEMENT:
diff --git a/interpret.c b/interpret.c
index c899371..2b8a07a 100644
--- a/interpret.c
+++ b/interpret.c
@@ -217,8 +217,6 @@ interpret (ast_t *ast)
env = gc_alloc (program->env_size);
- g_print ("allocated env of size %d\n", program->env_size);
-
current = program->enter;
while (current)
{