@@ -1181,10 +1181,10 @@ chkp_maybe_copy_and_register_bounds (tree ptr, tree bnd)
1181
1181
gimple_stmt_iterator gsi ;
1182
1182
1183
1183
if (bnd_var )
1184
- copy = make_ssa_name (bnd_var , gimple_build_nop () );
1184
+ copy = make_ssa_name (bnd_var );
1185
1185
else
1186
1186
copy = make_temp_ssa_name (pointer_bounds_type_node ,
1187
- gimple_build_nop () ,
1187
+ NULL ,
1188
1188
CHKP_BOUND_TMP_NAME );
1189
1189
bnd = chkp_get_orginal_bounds_for_abnormal_copy (bnd );
1190
1190
assign = gimple_build_assign (copy , bnd );
@@ -1544,7 +1544,7 @@ chkp_find_bounds_for_elem (tree elem, tree *all_bounds,
1544
1544
{
1545
1545
if (!all_bounds [offs / POINTER_SIZE ])
1546
1546
{
1547
- tree temp = make_temp_ssa_name (type , gimple_build_nop () , "" );
1547
+ tree temp = make_temp_ssa_name (type , NULL , "" );
1548
1548
gimple assign = gimple_build_assign (temp , elem );
1549
1549
gimple_stmt_iterator gsi ;
1550
1550
@@ -2053,7 +2053,7 @@ chkp_get_zero_bounds (void)
2053
2053
gimple_stmt_iterator gsi = gsi_start_bb (chkp_get_entry_block ());
2054
2054
gimple stmt ;
2055
2055
2056
- zero_bounds = chkp_get_tmp_reg (gimple_build_nop () );
2056
+ zero_bounds = chkp_get_tmp_reg (NULL );
2057
2057
stmt = gimple_build_assign (zero_bounds , chkp_get_zero_bounds_var ());
2058
2058
gsi_insert_before (& gsi , stmt , GSI_SAME_STMT );
2059
2059
}
@@ -2083,7 +2083,7 @@ chkp_get_none_bounds (void)
2083
2083
gimple_stmt_iterator gsi = gsi_start_bb (chkp_get_entry_block ());
2084
2084
gimple stmt ;
2085
2085
2086
- none_bounds = chkp_get_tmp_reg (gimple_build_nop () );
2086
+ none_bounds = chkp_get_tmp_reg (NULL );
2087
2087
stmt = gimple_build_assign (none_bounds , chkp_get_none_bounds_var ());
2088
2088
gsi_insert_before (& gsi , stmt , GSI_SAME_STMT );
2089
2089
}
@@ -2738,7 +2738,7 @@ chkp_get_bounds_by_definition (tree node, gimple def_stmt,
2738
2738
var = chkp_get_bounds_var (SSA_NAME_VAR (node ));
2739
2739
else
2740
2740
var = make_temp_ssa_name (pointer_bounds_type_node ,
2741
- gimple_build_nop () ,
2741
+ NULL ,
2742
2742
CHKP_BOUND_TMP_NAME );
2743
2743
else
2744
2744
var = chkp_get_tmp_var ();
@@ -2918,7 +2918,7 @@ chkp_generate_extern_var_bounds (tree var)
2918
2918
gimple_seq_add_stmt (& seq , stmt );
2919
2919
2920
2920
lb = chkp_build_addr_expr (var );
2921
- size = make_ssa_name (chkp_get_size_tmp_var (), gimple_build_nop () );
2921
+ size = make_ssa_name (chkp_get_size_tmp_var ());
2922
2922
2923
2923
if (flag_chkp_zero_dynamic_size_as_infinite )
2924
2924
{
@@ -3015,7 +3015,7 @@ chkp_get_bounds_for_decl_addr (tree decl)
3015
3015
gimple_stmt_iterator gsi = gsi_start_bb (chkp_get_entry_block ());
3016
3016
gimple stmt ;
3017
3017
3018
- bounds = chkp_get_tmp_reg (gimple_build_nop () );
3018
+ bounds = chkp_get_tmp_reg (NULL );
3019
3019
stmt = gimple_build_assign (bounds , bnd_var );
3020
3020
gsi_insert_before (& gsi , stmt , GSI_SAME_STMT );
3021
3021
}
@@ -3059,7 +3059,7 @@ chkp_get_bounds_for_string_cst (tree cst)
3059
3059
gimple_stmt_iterator gsi = gsi_start_bb (chkp_get_entry_block ());
3060
3060
gimple stmt ;
3061
3061
3062
- bounds = chkp_get_tmp_reg (gimple_build_nop () );
3062
+ bounds = chkp_get_tmp_reg (NULL );
3063
3063
stmt = gimple_build_assign (bounds , bnd_var );
3064
3064
gsi_insert_before (& gsi , stmt , GSI_SAME_STMT );
3065
3065
}
0 commit comments