static void while_statement_to_firm(while_statement_t *statement)
{
- ir_node *jmp = NULL;
- if (get_cur_block() != NULL) {
- jmp = new_Jmp();
- }
-
/* create the header block */
ir_node *header_block = new_immBlock();
- if (jmp != NULL) {
+ if (get_cur_block() != NULL) {
+ ir_node *const jmp = new_Jmp();
add_immBlock_pred(header_block, jmp);
}
break_label = old_break_label;
if (get_cur_block() != NULL) {
- jmp = new_Jmp();
+ ir_node *const jmp = new_Jmp();
add_immBlock_pred(header_block, jmp);
}