summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespill.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-08-15 15:24:55 +0200
committerMatthias Braun <matze@braunis.de>2011-08-17 15:33:24 +0200
commit2fc9b7da16d22e8d0edeec02f4e4100c3c2fa1cc (patch)
tree07af8e9b98f4a40be8beb902df7704ffa4b5a971 /ir/be/bespill.c
parentc47eb955f454e1b488a4175d6831c025e0b76293 (diff)
simplify copy interface and respect double/aligned reqs
Diffstat (limited to 'ir/be/bespill.c')
-rw-r--r--ir/be/bespill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bespill.c b/ir/be/bespill.c
index c83653a..07bafe2 100644
--- a/ir/be/bespill.c
+++ b/ir/be/bespill.c
@@ -97,7 +97,7 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
if (rbitset_is_set(req->limited, reg->index))
continue;
- copy = be_new_Copy(cls, block, op);
+ copy = be_new_Copy(block, op);
stat_ev_int("constr_copy", 1);
sched_add_before(node, copy);
set_irn_n(node, i, copy);
@@ -141,7 +141,7 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
if (rbitsets_equal(req->limited, req2->limited, cls->n_regs))
continue;
- copy = be_new_Copy(cls, block, in);
+ copy = be_new_Copy(block, in);
stat_ev_int("constr_copy", 1);
sched_add_before(node, copy);
@@ -210,7 +210,7 @@ static void prepare_constr_insn(be_pre_spill_env_t *env, ir_node *node)
if (be_is_Copy(in))
continue;
- copy = be_new_Copy(cls, block, in);
+ copy = be_new_Copy(block, in);
sched_add_before(node, copy);
set_irn_n(node, i, copy);
DBG((dbg, LEVEL_3, "inserting constr copy %+F for %+F pos %d\n",