projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed old unused files
[libfirm]
/
ir
/
be
/
bechordal.c
diff --git
a/ir/be/bechordal.c
b/ir/be/bechordal.c
index
4c23dad
..
0d4c145
100644
(file)
--- a/
ir/be/bechordal.c
+++ b/
ir/be/bechordal.c
@@
-574,7
+574,7
@@
static ir_node *handle_constraints(be_chordal_alloc_env_t *alloc_env, ir_node *i
assert(is_Proj(proj));
assert(is_Proj(proj));
- if(values_interfere(proj, irn)) {
+ if(values_interfere(proj, irn)
&& !pmap_contains(partners, proj)
) {
assert(n_alloc < n_regs);
alloc_nodes[n_alloc] = proj;
pmap_insert(partners, proj, NULL);
assert(n_alloc < n_regs);
alloc_nodes[n_alloc] = proj;
pmap_insert(partners, proj, NULL);
@@
-665,8
+665,8
@@
end:
static void constraints(ir_node *bl, void *data)
{
be_chordal_alloc_env_t *env = data;
static void constraints(ir_node *bl, void *data)
{
be_chordal_alloc_env_t *env = data;
- firm_dbg_module_t *dbg = firm_dbg_register("firm.be.chordal.constr");
arch_env_t *arch_env = env->chordal_env->birg->main_env->arch_env;
arch_env_t *arch_env = env->chordal_env->birg->main_env->arch_env;
+ FIRM_DBG_REGISTER(firm_dbg_module_t *dbg, "firm.be.chordal.constr");
/*
Start silent in the start block.
/*
Start silent in the start block.
@@
-925,7
+925,7
@@
void be_ra_chordal_color(be_chordal_env_t *chordal_env)
env.in_colors = bitset_alloca(colors_n);
env.ignore_regs = bitset_alloca(colors_n);
env.pre_colored = pset_new_ptr_default();
env.in_colors = bitset_alloca(colors_n);
env.ignore_regs = bitset_alloca(colors_n);
env.pre_colored = pset_new_ptr_default();
-
env.constr_dbg = firm_dbg_register(
"firm.be.chordal.constr");
+
FIRM_DBG_REGISTER(env.constr_dbg,
"firm.be.chordal.constr");
for(i = 0; i < colors_n; ++i)
if(arch_register_type_is(&chordal_env->cls->regs[i], ignore))
for(i = 0; i < colors_n; ++i)
if(arch_register_type_is(&chordal_env->cls->regs[i], ignore))