From 0cc93d3fead0f6449819363460ef27282551f148 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 13 Jan 2006 21:44:15 +0000 Subject: [PATCH] missing include added renamed all types 'type' to 'ir_type' [r7226] --- ir/common/firmwalk.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ir/common/firmwalk.c b/ir/common/firmwalk.c index 7dab4bf7a..36cf5b059 100644 --- 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 "typewalk.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) { - type *tp; + ir_type *tp; 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: - tp = (type *)tore; + tp = (ir_type *)tore; /* 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)) - 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); -- 2.20.1