DEBUG_ONLY(static firm_dbg_module_t *dbg;)
typedef struct walker_t {
- ir_graph *irg;
waitq *wq; /**< a wait queue */
} walker_t;
res = 0;
/* for FP these optimizations are only allowed if fp_strict_algebraic is disabled */
- if (mode_is_float(mode) && get_irg_fp_model(wenv->irg) & fp_strict_algebraic)
+ if (mode_is_float(mode) && get_irg_fp_model(get_irn_irg(n)) & fp_strict_algebraic)
break;
if (op->ops.reassociate) {
obstack_init(&commutative_args);
#endif
- env.irg = irg;
env.wq = new_waitq();
/* disable some optimizations while reassoc is running to prevent endless loops */