- Removed a big performance hit: The MARKS for visiting a node were
[libfirm] / ir / common / firmwalk.c
index b634bd7..418dd32 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.
  *
@@ -38,7 +38,6 @@
 #include "irnode_t.h"
 #include "irprog_t.h"
 #include "irgwalk.h"
-#include "typewalk.h"
 #include "irtools.h"
 
 #include "array.h"
@@ -267,6 +266,7 @@ static
 void fw_collect_irn(ir_node *irn, void *env)
 {
   fw_data *data;
+  (void) env;
 
   /* block nodes. */
   if (is_Block(irn)) {
@@ -287,6 +287,7 @@ void fw_collect_irn(ir_node *irn, void *env)
 static
 void fw_free_colleted_data(ir_node *irn, void *env)
 {
+  (void) env;
   /* Free node list from blocks */
   if (is_Block(irn))
   {