Do not mark the transformed as visited. It makes no sense at all.
[libfirm] / ir / be / benode_t.h
index 45e4dc3..ffc0fb0 100644 (file)
@@ -512,15 +512,14 @@ void be_phi_handler_new(be_main_env_t *env);
 
 /**
  * Destroy the Phi handler.
- * @param env The be_main environment.
  */
-void be_phi_handler_free(be_main_env_t *env);
+void be_phi_handler_free(void);
 
 /**
  * Reset the register data in the Phi handler.
  * This should be called on each new graph and deletes the register information of the current graph.
  */
-void be_phi_handler_reset(be_main_env_t *env);
+void be_phi_handler_reset(void);
 
 /**
  * Set the register requirements for a phi node.
@@ -535,9 +534,9 @@ void be_set_phi_flags(const arch_env_t *arch_env, ir_node *phi,
                       arch_irn_flags_t flags);
 
 /**
- * irn handler for common be nodes.
+ * irn handler for common be nodes and Phi's.
  */
-extern const arch_irn_handler_t be_node_irn_handler;
+const void *be_node_get_irn_ops(const ir_node *irn);
 
 static INLINE int be_is_Spill    (const ir_node *irn) { return get_irn_opcode(irn) == beo_Spill    ; }
 static INLINE int be_is_Reload   (const ir_node *irn) { return get_irn_opcode(irn) == beo_Reload   ; }