File tree 3 files changed +0
-34
lines changed 3 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -2724,26 +2724,6 @@ exprt c_typecheck_baset::do_special_functions(
2724
2724
2725
2725
return tmp;
2726
2726
}
2727
- else if (identifier==CPROVER_PREFIX " float_debug1" ||
2728
- identifier==CPROVER_PREFIX " float_debug2" )
2729
- {
2730
- if (expr.arguments ().size ()!=2 )
2731
- {
2732
- err_location (f_op);
2733
- error () << " float_debug expects two operands" << eom;
2734
- throw 0 ;
2735
- }
2736
-
2737
- const irep_idt &id=
2738
- identifier==CPROVER_PREFIX " float_debug1" ?
2739
- " float_debug1" :" float_debug2" ;
2740
-
2741
- exprt float_debug_expr (id, expr.type ());
2742
- float_debug_expr.operands ()=expr.arguments ();
2743
- float_debug_expr.add_source_location ()=source_location;
2744
-
2745
- return float_debug_expr;
2746
- }
2747
2727
else if (identifier==" __sync_fetch_and_add" ||
2748
2728
identifier==" __sync_fetch_and_sub" ||
2749
2729
identifier==" __sync_fetch_and_or" ||
Original file line number Diff line number Diff line change @@ -303,18 +303,6 @@ bvt boolbvt::convert_bitvector(const exprt &expr)
303
303
return convert_not (to_not_expr (expr));
304
304
else if (expr.id ()==ID_power)
305
305
return convert_power (to_binary_expr (expr));
306
- else if (expr.id ()==ID_float_debug1 ||
307
- expr.id ()==ID_float_debug2)
308
- {
309
- DATA_INVARIANT (expr.operands ().size () == 2 , " " );
310
- bvt bv0=convert_bitvector (expr.op0 ());
311
- bvt bv1=convert_bitvector (expr.op1 ());
312
- float_utilst float_utils (prop, to_floatbv_type (expr.type ()));
313
- bvt bv=expr.id ()==ID_float_debug1?
314
- float_utils.debug1 (bv0, bv1):
315
- float_utils.debug2 (bv0, bv1);
316
- return bv;
317
- }
318
306
else if (expr.id () == ID_popcount)
319
307
return convert_bv (lower_popcount (to_popcount_expr (expr), ns));
320
308
Original file line number Diff line number Diff line change @@ -514,8 +514,6 @@ IREP_ID_ONE(ptr_object)
514
514
IREP_ID_TWO(C_c_sizeof_type, #c_sizeof_type)
515
515
IREP_ID_ONE(array_update)
516
516
IREP_ID_ONE(update)
517
- IREP_ID_ONE(float_debug1)
518
- IREP_ID_ONE(float_debug2)
519
517
IREP_ID_ONE(static_assert)
520
518
IREP_ID_ONE(gcc_attribute_mode)
521
519
IREP_ID_TWO(built_in, <built-in>)
You can’t perform that action at this time.
0 commit comments