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
/
opt_osr.c
diff --git
a/ir/opt/opt_osr.c
b/ir/opt/opt_osr.c
index
6df1c7f
..
54e6921
100644
(file)
--- a/
ir/opt/opt_osr.c
+++ b/
ir/opt/opt_osr.c
@@
-28,9
+28,7
@@
* by Keith D. Cooper, L. Taylor Simpson, Christopher A. Vick.
* Extended version.
*/
* by Keith D. Cooper, L. Taylor Simpson, Christopher A. Vick.
* Extended version.
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include "adt/pdeq.h"
#include "iroptimize.h"
#include "adt/pdeq.h"
#include "iroptimize.h"
@@
-939,7
+937,7
@@
static void dfs(ir_node *irn, iv_env *env)
for (i = 0; i < n; ++i) {
ir_node *pred = get_irn_n(irn, i);
for (i = 0; i < n; ++i) {
ir_node *pred = get_irn_n(irn, i);
- if (
irn_not
_visited(pred))
+ if (
!irn
_visited(pred))
dfs(pred, env);
}
}
dfs(pred, env);
}
}
@@
-951,7
+949,7
@@
static void dfs(ir_node *irn, iv_env *env)
push(env, irn);
/* handle the block */
push(env, irn);
/* handle the block */
- if (
irn_not
_visited(block))
+ if (
!irn
_visited(block))
dfs(block, env);
n = get_irn_arity(irn);
dfs(block, env);
n = get_irn_arity(irn);
@@
-959,7
+957,7
@@
static void dfs(ir_node *irn, iv_env *env)
ir_node *pred = get_irn_n(irn, i);
node_entry *o = get_irn_ne(pred, env);
ir_node *pred = get_irn_n(irn, i);
node_entry *o = get_irn_ne(pred, env);
- if (
irn_not
_visited(pred)) {
+ if (
!irn
_visited(pred)) {
dfs(pred, env);
node->low = MIN(node->low, o->low);
}
dfs(pred, env);
node->low = MIN(node->low, o->low);
}
@@
-1010,7
+1008,7
@@
static void do_dfs(ir_graph *irg, iv_env *env) {
for (i = 0; i < n; ++i) {
ir_node *ka = get_End_keepalive(end, i);
for (i = 0; i < n; ++i) {
ir_node *ka = get_End_keepalive(end, i);
- if (
irn_not
_visited(ka))
+ if (
!irn
_visited(ka))
dfs(ka, env);
}
dfs(ka, env);
}