Do not mark the transformed as visited. It makes no sense at all.
[libfirm] / ir / debug / firm_ycomp.c
index 626de14..76fa41d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
  * PURPOSE.
  */
 
-/*
- * Project:     libFIRM
- * File name:   ir/debug/firm_ycomp.c
- * Purpose:     Connect firm to ycomp
- * Author:      Christian Wuerdig
- * Modified by:
- * Created:     16.11.2006
- * CVS-ID:      $Id$
- * Copyright:   (c) 2001-2006 Universität Karlsruhe
+/**
+ * @file
+ * @brief      Connect firm to ycomp
+ * @author     Christian Wuerdig
+ * @date       16.11.2006
+ * @version    $Id$
  */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -314,9 +311,12 @@ static void firm_ycomp_debug_new_node(void *context, ir_graph *graph, ir_node *n
 /**
  * Clear the old irg if it has some data and create a new one.
  */
-static void firm_ycomp_debug_new_irg(void *context, ir_graph *irg, ir_entity *ent) {
+static void firm_ycomp_debug_new_irg(void *context, ir_graph *irg,
+                                     ir_entity *ent)
+{
        firm_ycomp_dbg_t *dbg = context;
        char             buf[SEND_BUF_SIZE];
+       (void) irg;
 
        if (yy_dbg.has_data) {
                send_cmd(dbg, "deleteGraph\n");
@@ -513,6 +513,7 @@ static void firm_ycomp_debug_turn_into_id(void *context, ir_node *old_node) {
  */
 static void firm_ycomp_debug_dead_node_elim(void *context, ir_graph *irg, int start) {
        firm_ycomp_dbg_t *dbg  = context;
+       (void) irg;
        dbg->in_dead_node_elim = start != 0;
 }