projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed handle_proj callback
[libfirm]
/
ir
/
be
/
bechordal.c
diff --git
a/ir/be/bechordal.c
b/ir/be/bechordal.c
index
0640305
..
a84ff8c
100644
(file)
--- a/
ir/be/bechordal.c
+++ b/
ir/be/bechordal.c
@@
-53,7
+53,7
@@
#define NO_COLOR (-1)
#define NO_COLOR (-1)
-#
undef
DUMP_INTERVALS
+#
define
DUMP_INTERVALS
typedef struct _be_chordal_alloc_env_t {
be_chordal_env_t *chordal_env;
typedef struct _be_chordal_alloc_env_t {
be_chordal_env_t *chordal_env;
@@
-297,7
+297,7
@@
static ir_node *handle_constraints_at_perm(be_chordal_alloc_env_t *alloc_env, ir
int colored = 0;
for(precol = pset_first(pre_colored); precol; precol = pset_next(pre_colored)) {
int colored = 0;
for(precol = pset_first(pre_colored); precol; precol = pset_next(pre_colored)) {
- arch_register_t *pre_col_reg = arch_get_irn_register(arch_env, precol);
+
const
arch_register_t *pre_col_reg = arch_get_irn_register(arch_env, precol);
if(!values_interfere(irn, precol)) {
reg = arch_get_irn_register(arch_env, precol);
if(!values_interfere(irn, precol)) {
reg = arch_get_irn_register(arch_env, precol);
@@
-596,10
+596,10
@@
void be_ra_chordal_color(be_chordal_env_t *chordal_env)
char buf[128];
plotter_t *plotter;
char buf[128];
plotter_t *plotter;
- ir_snprintf(buf, sizeof(buf), "ifg_%s_%F.eps", cls->name, irg);
+ ir_snprintf(buf, sizeof(buf), "ifg_%s_%F.eps", c
hordal_env->c
ls->name, irg);
plotter = new_plotter_ps(buf);
plotter = new_plotter_ps(buf);
- draw_interval_tree(&draw_chordal_def_opts, chordal_env, plotter
, env->arch_env, cls
);
+ draw_interval_tree(&draw_chordal_def_opts, chordal_env, plotter);
plotter_free(plotter);
}
#endif
plotter_free(plotter);
}
#endif