projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added stronger checks for Mul
[libfirm]
/
ir
/
ir
/
irgmod.c
diff --git
a/ir/ir/irgmod.c
b/ir/ir/irgmod.c
index
1abdf7e
..
0a06562
100644
(file)
--- a/
ir/ir/irgmod.c
+++ b/
ir/ir/irgmod.c
@@
-125,6
+125,7
@@
void exchange(ir_node *old, ir_node *nw) {
*/
static void collect(ir_node *n, void *env) {
ir_node *pred;
*/
static void collect(ir_node *n, void *env) {
ir_node *pred;
+ (void) env;
if (is_Phi(n)) {
set_irn_link(n, get_irn_link(get_nodes_block(n)));
if (is_Phi(n)) {
set_irn_link(n, get_irn_link(get_nodes_block(n)));
@@
-209,9
+210,6
@@
void part_block(ir_node *node) {
set_irn_link(new_block, phi);
set_irn_link(old_block, NULL);
while (phi) {
set_irn_link(new_block, phi);
set_irn_link(old_block, NULL);
while (phi) {
- if(get_nodes_block(phi) == old_block); /* @@@ inlinening chokes on phis that don't
- obey this condition. How do they get into
- the list??? Example: InterfaceIII */
set_nodes_block(phi, new_block);
phi = get_irn_link(phi);
}
set_nodes_block(phi, new_block);
phi = get_irn_link(phi);
}