summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 14:00:57 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-24 14:00:57 +0100
commitaaccd82768a2bacca144fe49a1989dc7903ed55f (patch)
treeed331f116cfc2509a8d4d8e2d17630b9e6d1520b /ir/be/bechordal_common.c
parentd728669e02f4f54979e4795de1aac64bfbc972fa (diff)
be: Remove the indirection via chordal_scan_insn() to be_scan_insn().
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index 563fe87..aafebe6 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -205,17 +205,6 @@ void create_borders(ir_node *block, void *env_ptr)
bitset_free(live);
}
-
-be_insn_t *chordal_scan_insn(be_chordal_env_t *env, ir_node *irn)
-{
- be_insn_env_t ie;
-
- ie.allocatable_regs = env->allocatable_regs;
- ie.obst = env->obst;
- ie.cls = env->cls;
- return be_scan_insn(&ie, irn);
-}
-
ir_node *pre_process_constraints(be_chordal_env_t *env, be_insn_t **the_insn)
{
be_insn_t *insn = *the_insn;
@@ -259,7 +248,7 @@ ir_node *pre_process_constraints(be_chordal_env_t *env, be_insn_t **the_insn)
* the live sets may change.
*/
obstack_free(env->obst, insn);
- *the_insn = insn = chordal_scan_insn(env, insn->irn);
+ *the_insn = insn = be_scan_insn(env, insn->irn);
/*
* Copy the input constraints of the insn to the Perm as output