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 @@ -2742,26 +2742,6 @@ exprt c_typecheck_baset::do_special_functions(
2742
2742
2743
2743
return tmp;
2744
2744
}
2745
- else if (identifier==CPROVER_PREFIX " float_debug1" ||
2746
- identifier==CPROVER_PREFIX " float_debug2" )
2747
- {
2748
- if (expr.arguments ().size ()!=2 )
2749
- {
2750
- err_location (f_op);
2751
- error () << " float_debug expects two operands" << eom;
2752
- throw 0 ;
2753
- }
2754
-
2755
- const irep_idt &id=
2756
- identifier==CPROVER_PREFIX " float_debug1" ?
2757
- " float_debug1" :" float_debug2" ;
2758
-
2759
- exprt float_debug_expr (id, expr.type ());
2760
- float_debug_expr.operands ()=expr.arguments ();
2761
- float_debug_expr.add_source_location ()=source_location;
2762
-
2763
- return float_debug_expr;
2764
- }
2765
2745
else if (identifier==" __sync_fetch_and_add" ||
2766
2746
identifier==" __sync_fetch_and_sub" ||
2767
2747
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