From: Florian Liekweg Date: Sat, 20 Nov 2004 21:21:35 +0000 (+0000) Subject: Add pto_ctx_allocs X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=efab74e278f29d920403040ddd693ac629c6ad71;p=libfirm Add pto_ctx_allocs [r4453] --- diff --git a/ir/ana2/pto_ctx.c b/ir/ana2/pto_ctx.c index 725797a46..72442f3d5 100644 --- a/ir/ana2/pto_ctx.c +++ b/ir/ana2/pto_ctx.c @@ -21,12 +21,13 @@ */ # include "pto_ctx.h" +# include "pto_debug.h" +# include "pto_comp.h" +# include "ecg.h" # include "irnode.h" # include "xmalloc.h" -# include "pto_debug.h" - /* Local Defines: */ /* Local Data Types: */ @@ -81,11 +82,12 @@ ctx_info_t *set_curr_ctx (ctx_info_t *ctx) return (old_ctx); } - - /* $Log$ + Revision 1.2 2004/11/20 21:21:35 liekweg + Add pto_ctx_allocs + Revision 1.1 2004/11/18 16:37:34 liekweg rewritten diff --git a/ir/ana2/pto_ctx.h b/ir/ana2/pto_ctx.h index b7cf7f3bd..b7b9cd056 100644 --- a/ir/ana2/pto_ctx.h +++ b/ir/ana2/pto_ctx.h @@ -39,6 +39,9 @@ ctx_info_t *get_curr_ctx (void); /* Set the current ctx to the given ctx. Return the old value */ ctx_info_t *set_curr_ctx (ctx_info_t*); +/* Set all alloc names to the right ptos */ +void pto_ctx_allocs (graph_info_t*, int); + /* =================================================== Global Variables: =================================================== */ @@ -50,6 +53,9 @@ ctx_info_t *set_curr_ctx (ctx_info_t*); /* $Log$ + Revision 1.2 2004/11/20 21:21:35 liekweg + Add pto_ctx_allocs + Revision 1.1 2004/11/18 16:37:34 liekweg rewritten