Commit f736dac2 authored by Matthias Braun's avatar Matthias Braun
Browse files

avoid unnecessary macros in public headers

[r27615]
parent c32d8f90
......@@ -4603,7 +4603,7 @@ FIRM_API ir_type *get_cur_frame_type(void);
/* --- initialize and finalize IR construction --- */
/** Puts the graph into state "phase_high" */
#define irg_finalize_cons(irg) set_irg_phase_state(irg, phase_high)
FIRM_API void irg_finalize_cons(ir_graph *irg);
/** Puts the program and all graphs into state phase_high.
*
......
......@@ -1483,6 +1483,11 @@ void ir_set_uninitialized_local_variable_func(
default_initialize_local_variable = func;
}
void irg_finalize_cons(ir_graph *irg)
{
set_irg_phase_state(irg, phase_high);
}
void irp_finalize_cons(void)
{
int i;
......@@ -1490,7 +1495,7 @@ void irp_finalize_cons(void)
irg_finalize_cons(get_irp_irg(i));
}
irp->phase_state = phase_high;
} /* irp_finalize_cons */
}
ir_node *new_Start(void)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment