- add_in_edge(get_irg_current_block(irg), t);
- add_in_edge(get_irg_current_block(irg), jmp);
- {
- ir_node *in[0]; /* this is the array containing the return parameters */
- x = new_Return (get_store(), 0, in);
- }
- mature_block (get_irg_current_block(irg));
+ add_immBlock_pred(get_irg_current_block(irg), t);
+ add_immBlock_pred(get_irg_current_block(irg), jmp);
+
+ x = new_Return (get_store(), 0, NULL);
+
+ mature_immBlock (get_irg_current_block(irg));
+
+ add_immBlock_pred (get_irg_end_block(irg), x);
+ mature_immBlock (get_irg_end_block(irg));