bepeephole: Inline be_peephole_new_node() into its only caller.
[libfirm] / ir / be / bepeephole.h
index a008cdd..26a53c3 100644 (file)
@@ -31,18 +31,11 @@ static inline ir_node *be_peephole_get_reg_value(const arch_register_t *reg)
  */
 typedef void (*peephole_opt_func) (ir_node *node);
 
-/**
- * Notify the peephole phase about a newly added node, so it can update its
- * internal state.  This is not needed for the new node, when
- * be_peephole_exchange() is used.
- * Note: Contrary to normal exchange you mustn't remove the node from the
- * schedule either before exchange. Exchange will do that for you.
- */
-void be_peephole_new_node(ir_node *nw);
-
 /**
  * When doing peephole optimisation use this function instead of plain
- * exchange(), so it can update its internal state. */
+ * exchange(), so it can update its internal state.  This function also removes
+ * the old node from the schedule.
+ */
 void be_peephole_exchange(ir_node *old, ir_node *nw);
 
 /**