Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
bcf76b40
Commit
bcf76b40
authored
Mar 08, 2013
by
Matthias Braun
Browse files
irdom: code cleanup
parent
de4d897e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
ir/ana/irdom.c
View file @
bcf76b40
This diff is collapsed.
Click to expand it.
ir/be/bechordal_draw.c
View file @
bcf76b40
...
...
@@ -208,7 +208,6 @@ static void layout(const draw_chordal_env_t *env, ir_node *bl, int x)
rect_t
*
rect
=
&
dims
->
subtree_box
;
int
h_space
=
0
;
int
v_space
=
0
;
ir_node
*
sub
;
memset
(
rect
,
0
,
sizeof
(
*
rect
));
rect
->
x
=
x
;
...
...
@@ -238,7 +237,6 @@ static void set_y(const draw_chordal_env_t *env, ir_node *bl, int up)
const
draw_chordal_opts_t
*
opts
=
env
->
opts
;
struct
block_dims
*
dims
=
pmap_get
(
struct
block_dims
,
env
->
block_dims
,
bl
);
int
max_height
=
dims
->
subtree_box
.
h
-
dims
->
box
.
h
-
opts
->
v_gap
;
ir_node
*
sub
;
dominates_for_each
(
bl
,
sub
)
{
struct
block_dims
*
bl_dim
=
pmap_get
(
struct
block_dims
,
env
->
block_dims
,
sub
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment