#include "irnode.h"
#include "irprog.h"
#include "type_or_entity.h"
+#include "typegmod.h"
/* Make types visible to allow most efficient access */
#include "entity_t.h"
type_walk_2((type_or_ent *)get_Alloc_type(node), pre, post, envi);
break;
case iro_Free:
- printf("here in typewalk\n");
type_walk_2((type_or_ent *)get_Free_type(node), pre, post, envi);
break;
default:
void *env) {
int i;
++type_visited;
- type_walk_2((type_or_ent *)get_glob_type(), pre, post, env);
+ /*type_walk_2((type_or_ent *)get_glob_type(), pre, post, env);
+ global type is on the list visited below, too. */
for (i = 0; i < get_irp_n_types(); i++) {
type_walk_2((type_or_ent *)get_irp_type(i), pre, post, env);
}