X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fircons_t.h;h=2ac4aabca87a727136bdf40e0c7d50e3fc2a5611;hb=7d070c58e7bef1ed875fac066b57f29de449724b;hp=cbf84b54a3b7abb69529ee6678556f0612238d6f;hpb=cb7f468da0e787741c1f1e92f89b0cabe7c19441;p=libfirm diff --git a/ir/ir/ircons_t.h b/ir/ir/ircons_t.h index cbf84b54a..2ac4aabca 100644 --- a/ir/ir/ircons_t.h +++ b/ir/ir/ircons_t.h @@ -30,20 +30,14 @@ #include "ircons.h" #include "irgraph_t.h" -/** - * Initializes the graph construction. - * - * @param func callback that is called if a uninitialized - * variable is detected - * - * @see uninitialized_local_variable_func_t - */ -void firm_init_cons(uninitialized_local_variable_func_t *func); - /** * Creates a new Anchor node. */ -ir_node *new_Anchor(ir_graph *irg); +ir_node *new_r_Anchor(ir_graph *irg); + +/** create new block node without immediately optimizing it. + * This is an internal helper function for new_ir_graph() */ +ir_node *new_r_Block_noopt(ir_graph *irg, int arity, ir_node *in[]); /** * Allocate a frag array for a node if the current graph state is phase_building. @@ -80,20 +74,4 @@ void ssa_cons_start(ir_graph *irg, int n_loc); */ void ssa_cons_finish(ir_graph *irg); -/* inline functions */ - -static INLINE ir_node * -_new_d_Bad(void) { - return get_irg_bad(current_ir_graph); -} - -static INLINE ir_node * -_new_d_NoMem(void) { - return get_irg_no_mem(current_ir_graph); -} - - -#define new_d_Bad() _new_d_Bad() -#define new_d_NoMem() _new_d_NoMem() - #endif