use the new Anchor node instead of old anchors
[libfirm] / ir / opt / opt_confirms.h
index 31872b8..2db2fdc 100644 (file)
  * This is a often needed case, so we handle here Confirm
  * nodes too.
  *
- * @param blk      the block for which the check is done
  * @param n        a node representing the value
  * @param confirm  if n is confirmed to be != 0, returns
  *                 the the Confirm-node, else NULL
  */
-int value_not_zero(ir_node *blk, ir_node *n, ir_node **confirm);
+int value_not_zero(ir_node *n, ir_node **confirm);
 
 /**
  * Check, if the value of a node cannot represent a NULL pointer.
@@ -54,12 +53,11 @@ int value_not_zero(ir_node *blk, ir_node *n, ir_node **confirm);
  * - A Const != NULL is NEVER a NULL pointer
  * - Confirms are evaluated
  *
- * @param blk      the block for which the check is done
  * @param n        a node representing the value
  * @param confirm  if n is confirmed to be != NULL, returns
  *                 the the Confirm-node, else NULL
  */
-int value_not_null(ir_node *blk, ir_node *n, ir_node **confirm);
+int value_not_null(ir_node *n, ir_node **confirm);
 
 /**
  * Possible return values of value_classify().