File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -493,20 +493,6 @@ fn codegen_regular_intrinsic_call<'tcx>(
493
493
let res = crate :: num:: codegen_int_binop ( fx, bin_op, x, y) ;
494
494
ret. write_cvalue ( fx, res) ;
495
495
}
496
- sym:: add_with_overflow | sym:: sub_with_overflow | sym:: mul_with_overflow => {
497
- intrinsic_args ! ( fx, args => ( x, y) ; intrinsic) ;
498
-
499
- assert_eq ! ( x. layout( ) . ty, y. layout( ) . ty) ;
500
- let bin_op = match intrinsic {
501
- sym:: add_with_overflow => BinOp :: Add ,
502
- sym:: sub_with_overflow => BinOp :: Sub ,
503
- sym:: mul_with_overflow => BinOp :: Mul ,
504
- _ => unreachable ! ( ) ,
505
- } ;
506
-
507
- let res = crate :: num:: codegen_checked_int_binop ( fx, bin_op, x, y) ;
508
- ret. write_cvalue ( fx, res) ;
509
- }
510
496
sym:: saturating_add | sym:: saturating_sub => {
511
497
intrinsic_args ! ( fx, args => ( lhs, rhs) ; intrinsic) ;
512
498
You can’t perform that action at this time.
0 commit comments