X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Fircons_t.h;h=2ac4aabca87a727136bdf40e0c7d50e3fc2a5611;hb=bae07c0180990bd3295d66435b7d72310ec9485a;hp=367186a61a6b4373088e2bd90ce9da8d5939349c;hpb=bb9f2e36362333c6635b89f5258171b06c786608;p=libfirm diff --git a/ir/ir/ircons_t.h b/ir/ir/ircons_t.h index 367186a61..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