- memset(&env, 0, sizeof(env));
- env.selector = selector;
- env.selector_env = selector->init_graph ? selector->init_graph(irg) : NULL;
- env.irg = irg;
+ memset(&env, 0, sizeof(env));
+ selector = env.selector = isa->impl->get_list_sched_selector(isa);
+ env.selector_env = selector->init_graph ? selector->init_graph(isa, irg) : NULL;
+ env.irg = irg;