rewrite vrp scanning to use a phase instead of attrs in ir_node
[libfirm] / include / libfirm / irgwalk.h
index 106e9a3..41d0b84 100644 (file)
@@ -22,7 +22,7 @@
  * @brief    Traverse an ir graph
  * @author   Boris Boesler, Goetz Lindenmaier
  * @version  $Id$
- * @summary
+ * @brief
  *  Traverse an ir graph:
  *  - execute the pre function before recursion
  *  - execute the post function after recursion
@@ -245,4 +245,11 @@ void irg_walk_blkwise_dom_top_down(ir_graph *irg, irg_walk_func *pre, irg_walk_f
  */
 void irg_walk_anchors(ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env);
 
+/**
+ * Walker function which does not increase the visited flag before walking.
+ * Do not use this unless you know what you are doing.
+ */
+unsigned irg_walk_2(ir_node *node, irg_walk_func *pre, irg_walk_func *post,
+                    void *env);
+
 #endif