DBG((dbg, LEVEL_1, "Insert Perm after: %+F\n", pos));
ir_nodeset_init(&live);
- be_liveness_nodes_live_at(lv, birg->main_env->arch_env, cls, pos, &live);
+ be_liveness_nodes_live_at(lv, cls, pos, &live);
n = ir_nodeset_size(&live);
if(n == 0) {
-void be_liveness_nodes_live_at(const be_lv_t *lv, const arch_env_t *arch_env,
+void be_liveness_nodes_live_at(const be_lv_t *lv,
const arch_register_class_t *cls,
const ir_node *pos, ir_nodeset_t *live)
{
const ir_node *bl = is_Block(pos) ? pos : get_nodes_block(pos);
ir_node *irn;
- (void)arch_env; // TODO remove parameter
be_liveness_end_of_block(lv, cls, bl, live);
sched_foreach_reverse(bl, irn) {
/**
* Compute a set of nodes which are live at another node.
* BEWARE: This is the liveness immediately after the node,
- * so the node itself is alive but it's operands maybe not.
- * @param arch_env The architecture environment.
+ * so the node itself is alive but its operands maybe not.
* @param cls The register class to consider.
* @param pos The node.
* @param live The set to put them into.
*/
-void be_liveness_nodes_live_at(const be_lv_t *lv, const arch_env_t *arch_env,
+void be_liveness_nodes_live_at(const be_lv_t *lv,
const arch_register_class_t *cls,
const ir_node *pos, ir_nodeset_t *live);