#include "firm_common.h"
#include "irnode.h"
+#include "irgraph.h"
#include "dbginfo.h"
/*-------------------------------------------------------------------------*/
/* --- initialize and finalize ir construction --- */
/** Puts the graph into state "phase_high" */
-void irg_finalize_cons (ir_graph *irg);
+#define irg_finalize_cons(irg) set_irg_phase_state(irg, phase_high)
/** Puts the program and all graphs into state phase_high.
*