static bool constant_on_correct_irg(ir_node *n) { myenv env; env.fine = true; env.irg = get_const_code_irg(); irg_walk(n, on_irg_storage, NULL, (void *)&env); return env.fine; }
void irg_walk_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func *post, void *env) { irg_walk(get_irg_end(irg), pre, post, env); }