@@ -5378,8 +5378,8 @@ func (s *state) intDivide(n ir.Node, a, b *ssa.Value) *ssa.Value {
5378
5378
}
5379
5379
if needcheck {
5380
5380
// do a size-appropriate check for zero
5381
- cmp := s .newValue2 (s .ssaOp (ir .ONE , n .Type ()), types .Types [types .TBOOL ], b , s .zeroVal (n .Type ()))
5382
- s .check (cmp , ir .Syms .Panicdivide )
5381
+ // cmp := s.newValue2(s.ssaOp(ir.ONE, n.Type()), types.Types[types.TBOOL], b, s.zeroVal(n.Type()))
5382
+ // s.check(cmp, ir.Syms.Panicdivide) // temporarily commented out
5383
5383
}
5384
5384
5385
5385
return s .newValue2 (s .ssaOp (n .Op (), n .Type ()), a .Type , a , b )
@@ -5825,8 +5825,8 @@ func (s *state) intDiv(n ir.Node, a, b *ssa.Value) *ssa.Value {
5825
5825
}
5826
5826
}
5827
5827
if needcheck {
5828
- cmp := s .newValue2 (s .ssaOp (ir .ONE , n .Type ()), types .Types [types .TBOOL ], b , s .zeroVal (n .Type ()))
5829
- s .check (cmp , ir .Syms .Panicdivide )
5828
+ // cmp := s.newValue2(s.ssaOp(ir.ONE, n.Type()), types.Types[types.TBOOL], b, s.zeroVal(n.Type()))
5829
+ // s.check(cmp, ir.Syms.Panicdivide) // temporarily commented out
5830
5830
}
5831
5831
return s .newValue2 (s .ssaOp (n .Op (), n .Type ()), a .Type , a , b )
5832
5832
}
@@ -5842,8 +5842,8 @@ func (s *state) intDiv(n ir.Node, a, b *ssa.Value) *ssa.Value {
5842
5842
}
5843
5843
if needcheck {
5844
5844
// do a size-appropriate check for zero
5845
- cmp := s .newValue2 (s .ssaOp (ir .ONE , n .Type ()), types .Types [types .TBOOL ], b , s .zeroVal (n .Type ()))
5846
- s .check (cmp , ir .Syms .Panicdivide )
5845
+ // cmp := s.newValue2(s.ssaOp(ir.ONE, n.Type()), types.Types[types.TBOOL], b, s.zeroVal(n.Type()))
5846
+ // s.check(cmp, ir.Syms.Panicdivide) // temporarily commented out
5847
5847
}
5848
5848
5849
5849
// If overflow detection is disabled, just perform the division
0 commit comments