/*
- * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
* This operation evaluates an IR node into a tarval if possible,
* returning tarval_bad otherwise.
*/
-typedef tarval *(*computed_value_func)(const ir_node *self);
+typedef ir_tarval *(*computed_value_func)(const ir_node *self);
/**
* The equivalent node operation.
* Compares the nodes attributes of two nodes of identical opcode
* and returns 0 if the attributes are identical, 1 if they differ.
*/
-typedef int (*node_cmp_attr_func)(ir_node *a, ir_node *b);
+typedef int (*node_cmp_attr_func)(const ir_node *a, const ir_node *b);
/**
* The reassociation operation.