* @author Michael Beck
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#endif
#include "iropt_t.h"
#include "irnode_t.h"
return 0;
blk = get_nodes_block(n);
- c = new_r_Const(current_ir_graph, blk, mode, tv);
+ c = new_Const(tv);
irn = new_rd_Mul(get_irn_dbg_info(n), current_ir_graph, blk, x, c, mode);
if (irn != n) {
/*
* do the reassociation
*/
-void optimize_reassociation(ir_graph *irg)
+int optimize_reassociation(ir_graph *irg)
{
walker_t env;
irg_loopinfo_state state;
del_waitq(env.wq);
current_ir_graph = rem;
+ return env.changes;
} /* optimize_reassociation */
/* Sets the default reassociation operation for an ir_op_ops. */