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
a23fa826
Commit
a23fa826
authored
Mar 10, 2005
by
Sebastian Hack
Browse files
Cosmetic
[r5333]
parent
dcbb1264
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/irdom.c
View file @
a23fa826
...
...
@@ -27,8 +27,8 @@
#include
"irnode_t.h"
#include
"ircons_t.h"
#define get_dom_info(bl) (&(bl)->attr.block.dom)
#define get_dom_info(bl) (&(bl)->attr.block.dom)
/*--------------------------------------------------------------------*/
/** Accessing the dominator data structures **/
...
...
@@ -100,12 +100,13 @@ int block_dominates(const ir_node *a, const ir_node *b)
const
dom_info
*
ai
,
*
bi
;
if
(
is_Block
(
a
)
&&
is_Block
(
b
))
{
ai
=
get_dom_info
(
a
);
bi
=
get_dom_info
(
b
);
return
bi
->
tree_pre_num
-
ai
->
tree_pre_num
<=
ai
->
max_subtree_pre_num
-
ai
->
tree_pre_num
;
}
return
0
;
ai
=
get_dom_info
(
a
);
bi
=
get_dom_info
(
b
);
return
bi
->
tree_pre_num
-
ai
->
tree_pre_num
<=
ai
->
max_subtree_pre_num
-
ai
->
tree_pre_num
;
}
return
0
;
}
ir_node
*
get_Block_dominated_first
(
const
ir_node
*
bl
)
...
...
Write
Preview
Supports
Markdown
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