X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fecg.c;h=7195428b0adfd7ec66215b70f683c5e4f678b27c;hb=ff244fb7355c6120cf0f15ba7911b473bb91c64b;hp=19a3ed57efa74d22e863fda8d0bf3d4006efd8fd;hpb=973502ec384c8b02bf598b54ea3a59850500be3b;p=libfirm diff --git a/ir/ana2/ecg.c b/ir/ana2/ecg.c index 19a3ed57e..7195428b0 100644 --- a/ir/ana2/ecg.c +++ b/ir/ana2/ecg.c @@ -16,6 +16,8 @@ # include "config.h" #endif +#include + /** Erweiterter Aufrufgraph. */ @@ -28,6 +30,8 @@ #include "irvrfy.h" #include "trvrfy.h" #include "xmalloc.h" +#include "irdump.h" +#include "irprog_t.h" # ifndef TRUE # define TRUE 1 @@ -82,7 +86,7 @@ void set_main_ctx (ctx_info_t*); /* ==================== Alloc stuff ==================== */ -static void append_alloc (graph_info_t *ginfo, ir_node *alloc, type *tp) +static void append_alloc (graph_info_t *ginfo, ir_node *alloc, ir_type *tp) { alloc_info_t *ainfo = xmalloc (sizeof (alloc_info_t)); @@ -415,7 +419,7 @@ static void ecg_calls_act (ir_node *node, void *env) assert (0 && "Unexpected address expression"); } } else if (op_Alloc == op) { - type *tp = get_Alloc_type (node); + ir_type *tp = get_Alloc_type (node); /* const char *name = get_type_name (tp); */ append_alloc (graph_info, node, tp); @@ -1263,6 +1267,15 @@ void ecg_ecg (void) /* $Log$ + Revision 1.22 2006/01/13 22:55:03 beck + renamed all types 'type' to 'ir_type' + + Revision 1.21 2005/12/31 15:58:57 beck + added missing includes + + Revision 1.20 2005/12/05 12:01:06 beck + needed include added + Revision 1.19 2005/03/22 13:55:51 liekweg Need to initialise typalise now