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