File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -475,9 +475,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
475
475
sym:: unchecked_add
476
476
| sym:: unchecked_sub
477
477
| sym:: unchecked_mul
478
- | sym:: unchecked_div
479
478
| sym:: exact_div
480
- | sym:: unchecked_rem
481
479
| sym:: unchecked_shl
482
480
| sym:: unchecked_shr => {
483
481
intrinsic_args ! ( fx, args => ( x, y) ; intrinsic) ;
@@ -487,8 +485,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
487
485
sym:: unchecked_add => BinOp :: Add ,
488
486
sym:: unchecked_sub => BinOp :: Sub ,
489
487
sym:: unchecked_mul => BinOp :: Mul ,
490
- sym:: unchecked_div | sym:: exact_div => BinOp :: Div ,
491
- sym:: unchecked_rem => BinOp :: Rem ,
488
+ sym:: exact_div => BinOp :: Div ,
492
489
sym:: unchecked_shl => BinOp :: Shl ,
493
490
sym:: unchecked_shr => BinOp :: Shr ,
494
491
_ => unreachable ! ( ) ,
You can’t perform that action at this time.
0 commit comments