basic_block old_first_bb;
basic_block new_first_bb;
- tree old_label;
- tree new_label;
tree tmpvar;
gimple cond;
new_first_bb = new_bb_for_old (bb_pairs, old_first_bb);
aop_assert (new_first_bb != NULL);
- old_label = gimple_block_label (old_first_bb);
- new_label = gimple_block_label (new_first_bb);
-
- /* TODO: Can this line be removed? */
- DECL_SOURCE_LOCATION(new_label) = DECL_SOURCE_LOCATION(old_label);
distributor_bb = split_edge(e);
tmpvar = create_tmp_var(integer_type_node, tmpvar_name);
/* insert: if (tmpvar) goto <new_label> else goto <old_label> */
cond = gimple_build_cond (NE_EXPR, tmpvar,
build_int_cst (integer_type_node, 0),
- new_label, old_label);
+ NULL_TREE, NULL_TREE);
gsi_insert_before (&gsi, cond, GSI_SAME_STMT);
remove_edge(single_succ_edge(distributor_bb));