projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Implement all the state switching stuff needed for efficient fpu mode
[libfirm]
/
ir
/
common
/
firmwalk.c
diff --git
a/ir/common/firmwalk.c
b/ir/common/firmwalk.c
index
36cf5b0
..
fd52704
100644
(file)
--- a/
ir/common/firmwalk.c
+++ b/
ir/common/firmwalk.c
@@
-219,11
+219,11
@@
static
void fw_collect_tore(type_or_ent *tore, void *env)
{
ir_type *tp;
void fw_collect_tore(type_or_ent *tore, void *env)
{
ir_type *tp;
- entity *ent;
+
ir_
entity *ent;
switch (get_kind(tore)) {
case k_entity:
switch (get_kind(tore)) {
case k_entity:
- ent = (entity *)tore;
+ ent = (
ir_
entity *)tore;
/* append entity to list */
set_entity_link(ent, NULL);
if (!pmap_contains(entity_map, ent))
/* append entity to list */
set_entity_link(ent, NULL);
if (!pmap_contains(entity_map, ent))
@@
-384,7
+384,7
@@
void firm_walk(firm_walk_interface *wif)
if (wif->do_entity)
{
for (entry = pmap_first(entity_map); entry; entry = pmap_next(entity_map))
if (wif->do_entity)
{
for (entry = pmap_first(entity_map); entry; entry = pmap_next(entity_map))
- wif->do_entity((entity *)entry->key, wif->env);
+ wif->do_entity((
ir_
entity *)entry->key, wif->env);
}
if (wif->do_entity_finalize) wif->do_entity_finalize(wif->env);
}
if (wif->do_entity_finalize) wif->do_entity_finalize(wif->env);