projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapted to new liveness
[libfirm]
/
ir
/
be
/
bechordal_draw.c
diff --git
a/ir/be/bechordal_draw.c
b/ir/be/bechordal_draw.c
index
6e20f43
..
f59dbb3
100644
(file)
--- a/
ir/be/bechordal_draw.c
+++ b/
ir/be/bechordal_draw.c
@@
-150,7
+150,7
@@
const plotter_if_t ps_plotter_vtab = {
plotter_t *new_plotter_ps(const char *filename)
{
plotter_t *new_plotter_ps(const char *filename)
{
- ps_plotter_t *ps_plotter = malloc(sizeof(*ps_plotter));
+ ps_plotter_t *ps_plotter =
x
malloc(sizeof(*ps_plotter));
plotter_t *p = (plotter_t *) ps_plotter;
ps_plotter->filename = filename;
plotter_t *p = (plotter_t *) ps_plotter;
ps_plotter->filename = filename;
@@
-374,7
+374,7
@@
static void draw_block(ir_node *bl, void *data)
static const color_t black = { 0, 0, 0 };
const draw_chordal_env_t *env = data;
static const color_t black = { 0, 0, 0 };
const draw_chordal_env_t *env = data;
- pset *live_in =
put_live_in(
bl, pset_new_ptr_default());
+ pset *live_in =
be_lv_pset_put_in(env->chordal_env->lv,
bl, pset_new_ptr_default());
ir_node *irn;
border_t *b;
struct list_head *head = get_block_border_head(env->chordal_env, bl);
ir_node *irn;
border_t *b;
struct list_head *head = get_block_border_head(env->chordal_env, bl);
@@
-396,7
+396,7
@@
static void draw_block(ir_node *bl, void *data)
if(b->is_def) {
const arch_register_t *reg = arch_get_irn_register(env->arch_env, b->irn);
int col = arch_register_get_index(reg);
if(b->is_def) {
const arch_register_t *reg = arch_get_irn_register(env->arch_env, b->irn);
int col = arch_register_get_index(reg);
- int live_out =
is_live_out(
bl, b->irn);
+ int live_out =
be_is_live_out(env->chordal_env->lv,
bl, b->irn);
int x = (col + 1) * opts->h_inter_gap;
int ystart = (b->step) * opts->v_inter_gap;
int ystop = (b->other_end->step)
int x = (col + 1) * opts->h_inter_gap;
int ystart = (b->step) * opts->v_inter_gap;
int ystop = (b->other_end->step)