projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
condeval.h added
[libfirm]
/
ir
/
common
/
firmwalk.c
diff --git
a/ir/common/firmwalk.c
b/ir/common/firmwalk.c
index
7dab4bf
..
36cf5b0
100644
(file)
--- a/
ir/common/firmwalk.c
+++ b/
ir/common/firmwalk.c
@@
-24,6
+24,7
@@
#include "irnode_t.h"
#include "irprog_t.h"
#include "irgwalk.h"
#include "irnode_t.h"
#include "irprog_t.h"
#include "irgwalk.h"
+#include "typewalk.h"
#include "irtools.h"
#include "array.h"
#include "irtools.h"
#include "array.h"
@@
-217,7
+218,7
@@
void *get_firm_walk_link(void *thing)
static
void fw_collect_tore(type_or_ent *tore, void *env)
{
static
void fw_collect_tore(type_or_ent *tore, void *env)
{
- type *tp;
+
ir_
type *tp;
entity *ent;
switch (get_kind(tore)) {
entity *ent;
switch (get_kind(tore)) {
@@
-229,7
+230,7
@@
void fw_collect_tore(type_or_ent *tore, void *env)
pmap_insert(entity_map, ent, env);
break;
case k_type:
pmap_insert(entity_map, ent, env);
break;
case k_type:
- tp = (type *)tore;
+ tp = (
ir_
type *)tore;
/* append type to list */
set_type_link(tp, NULL);
/* append type to list */
set_type_link(tp, NULL);
@@
-374,7
+375,7
@@
void firm_walk(firm_walk_interface *wif)
if (wif->do_type)
{
for (entry = pmap_first(type_map); entry; entry = pmap_next(type_map))
if (wif->do_type)
{
for (entry = pmap_first(type_map); entry; entry = pmap_next(type_map))
- wif->do_type((type *)entry->key, wif->env);
+ wif->do_type((
ir_
type *)entry->key, wif->env);
}
if (wif->do_type_finalize) wif->do_type_finalize(wif->env);
}
if (wif->do_type_finalize) wif->do_type_finalize(wif->env);