int i;
bool has_unknown = false;
- assert( get_Block_matured(block) );
- assert( get_irn_arity(block) == arity );
+ /* Don't assert that block matured: the use of this constructor is strongly
+ restricted ... */
+ if ( get_Block_matured(block) )
+ assert( get_irn_arity(block) == arity );
res = new_ir_node (db, irg, block, op_Phi, mode, arity, in);
res = new_ir_node (db, irg, block, op_FuncCall, mode_T, r_arity, r_in);
assert(is_method_type(tp));
- set_Call_type(res, tp);
+ set_FuncCall_type(res, tp);
res->attr.call.callee_arr = NULL;
res = optimize_node (res);
irn_vrfy_irg (res, irg);
*/
#if USE_EXPLICIT_PHI_IN_STACK
INLINE Phi_in_stack *
-new_Phi_in_stack() {
+new_Phi_in_stack(void) {
Phi_in_stack *res;
res = (Phi_in_stack *) malloc ( sizeof (Phi_in_stack));