projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
automatically generate node constructor declarations
[libfirm]
/
ir
/
tr
/
typewalk.c
diff --git
a/ir/tr/typewalk.c
b/ir/tr/typewalk.c
index
656d2c7
..
92d81a3
100644
(file)
--- a/
ir/tr/typewalk.c
+++ b/
ir/tr/typewalk.c
@@
-245,7
+245,7
@@
static void irn_type_walker(
If so start a walk over that information. */
static void start_type_walk(ir_node *node, void *ctx)
{
If so start a walk over that information. */
static void start_type_walk(ir_node *node, void *ctx)
{
- type_walk_env *env = ctx;
+ type_walk_env *env =
(type_walk_env*)
ctx;
type_walk_func *pre;
type_walk_func *post;
void *envi;
type_walk_func *pre;
type_walk_func *post;
void *envi;
@@
-497,9
+497,8
@@
static void type_walk_super_2(type_or_ent tore, type_walk_func *pre,
}
}
}
}
-void type_walk_super(type_walk_func *pre,
- type_walk_func *post,
- void *env) {
+void type_walk_super(type_walk_func *pre, type_walk_func *post, void *env)
+{
int i, n_types = get_irp_n_types();
type_or_ent cont;
int i, n_types = get_irp_n_types();
type_or_ent cont;