From acf7f9c98cff58c72656a3aab19cd1e224446dc9 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 6 Apr 2006 12:36:53 +0000 Subject: [PATCH] initialize the phase state [r7587] --- ir/ir/irprog.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 122c268f7..7c588b599 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -18,13 +18,13 @@ # include #endif -# include "irprog_t.h" -# include "irgraph_t.h" -# include "pseudo_irg.h" -# include "array.h" -# include "obst.h" -# include "typegmod.h" -# include "irop_t.h" +#include "irprog_t.h" +#include "irgraph_t.h" +#include "pseudo_irg.h" +#include "array.h" +#include "obst.h" +#include "typegmod.h" +#include "irop_t.h" #define GLOBAL_TYPE_NAME "GlobalType" #define INITAL_PROG_NAME "no_name_set" @@ -69,6 +69,7 @@ static ir_prog *complete_ir_prog(ir_prog *irp) { irp->const_code_irg = new_const_code_irg(); + irp->phase_state = phase_building; irp->outs_state = outs_none; irp->ip_outedges = NULL; irp->trouts_state = outs_none; -- 2.20.1