projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused variable.
[libfirm]
/
ir
/
opt
/
data_flow_scalar_replace.c
diff --git
a/ir/opt/data_flow_scalar_replace.c
b/ir/opt/data_flow_scalar_replace.c
index
4492c5a
..
7ff3ecf
100644
(file)
--- a/
ir/opt/data_flow_scalar_replace.c
+++ b/
ir/opt/data_flow_scalar_replace.c
@@
-23,9
+23,7
@@
* @author Beyhan Veliev, Michael Beck
* @version $Id$
*/
* @author Beyhan Veliev, Michael Beck
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include "iroptimize.h"
#include "iroptimize.h"
@@
-310,7
+308,7
@@
static void link_all_leave_sels(ir_entity *ent, ir_node *sel)
* visited more than once causing a ring here, so we use the
* node flag to mark linked nodes
*/
* visited more than once causing a ring here, so we use the
* node flag to mark linked nodes
*/
- if (irn_visited(sel))
+ if (irn_visited
_else_mark
(sel))
return;
/*
return;
/*
@@
-318,8
+316,6
@@
static void link_all_leave_sels(ir_entity *ent, ir_node *sel)
*/
set_irn_link(sel, get_entity_link(ent));
set_entity_link(ent, sel);
*/
set_irn_link(sel, get_entity_link(ent));
set_entity_link(ent, sel);
-
- mark_irn_visited(sel);
}
/* we need a special address that serves as an address taken marker */
}
/* we need a special address that serves as an address taken marker */