a better version of a copyb lowerer
[libfirm] / include / libfirm / irgwalk.h
index b2572d4..c46ff44 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.
  *
@@ -121,6 +121,7 @@ void irg_walk_in_or_dep_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func *
  */
 void all_irg_walk(irg_walk_func *pre, irg_walk_func *post, void *env);
 
+#ifdef INTERPROCEDURAL_VIEW
 /**
  * Walks all irgs in interprocedural view.
  *
@@ -132,6 +133,7 @@ void all_irg_walk(irg_walk_func *pre, irg_walk_func *post, void *env);
  * Visits each node only once.  Sets current_ir_graph properly. Does not use the link field.
  */
 void cg_walk(irg_walk_func *pre, irg_walk_func *post, void *env);
+#endif
 
 /** Walks only over Block nodes in the graph.
  *