change register allocator and related interfaces to use ir_graph* instead of be_irg_t*
[libfirm] / ir / be / becopyheur2.c
index 3a6487a..85cd097 100644 (file)
@@ -1227,7 +1227,7 @@ int co_solve_heuristic_new(copy_opt_t *co)
        co2_t env;
        FILE  *f;
 
-       phase_init(&env.ph, co->cenv->birg->irg, co2_irn_init);
+       phase_init(&env.ph, co->cenv->irg, co2_irn_init);
        env.touched     = NULL;
        env.visited     = 0;
        env.co          = co;