X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fecg.c;h=7195428b0adfd7ec66215b70f683c5e4f678b27c;hb=ff244fb7355c6120cf0f15ba7911b473bb91c64b;hp=ee76bc0da9ea5decc870f562382c75c62f672fe1;hpb=5984af6afdad92c8501b3a21c73727b3a207fb75;p=libfirm diff --git a/ir/ana2/ecg.c b/ir/ana2/ecg.c index ee76bc0da..7195428b0 100644 --- a/ir/ana2/ecg.c +++ b/ir/ana2/ecg.c @@ -30,6 +30,8 @@ #include "irvrfy.h" #include "trvrfy.h" #include "xmalloc.h" +#include "irdump.h" +#include "irprog_t.h" # ifndef TRUE # define TRUE 1 @@ -84,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)); @@ -417,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); @@ -1265,6 +1267,12 @@ 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