projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed INLIEN before global functions
[libfirm]
/
ir
/
ir
/
irgwalk.c
diff --git
a/ir/ir/irgwalk.c
b/ir/ir/irgwalk.c
index
e34402d
..
eebda3f
100644
(file)
--- a/
ir/ir/irgwalk.c
+++ b/
ir/ir/irgwalk.c
@@
-11,17
+11,21
@@
*/
/**
*/
/**
-* traverse an ir graph
-* - execute the pre function before recursion
-* - execute the post function after recursion
-*/
+ * @file irgwalk.c
+ *
+ * traverse an ir graph
+ * - execute the pre function before recursion
+ * - execute the post function after recursion
+ */
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
-# include
<config.h>
+# include
"config.h"
#endif
#endif
-#include <stdlib.h>
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#include "irnode_t.h"
#include "irgraph_t.h" /* visited flag */
#include "irnode_t.h"
#include "irgraph_t.h" /* visited flag */
@@
-38,7
+42,7
@@
* Walk over an interprocedural graph (callgraph).
* Visits only graphs in irg_set.
*/
* Walk over an interprocedural graph (callgraph).
* Visits only graphs in irg_set.
*/
-static void irg_walk_cg(ir_node * node,
int
visited, eset * irg_set,
+static void irg_walk_cg(ir_node * node,
unsigned long
visited, eset * irg_set,
irg_walk_func *pre, irg_walk_func *post, void * env) {
int i;
ir_graph * rem = current_ir_graph;
irg_walk_func *pre, irg_walk_func *post, void * env) {
int i;
ir_graph * rem = current_ir_graph;
@@
-215,7
+219,7
@@
void irg_walk(ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
if (get_interprocedural_view()) {
eset * irg_set = eset_create();
if (get_interprocedural_view()) {
eset * irg_set = eset_create();
-
int
visited;
+
unsigned long
visited;
ir_graph * irg;
assert(get_irp_ip_view_state() == ip_view_valid);
ir_graph * irg;
assert(get_irp_ip_view_state() == ip_view_valid);