Remove the unused &^ AmpHat operator

This commit is contained in:
Nigel Tao committed 2018-04-26 11:24:27 +10:00
1 parent 95815036ba
commit 7f0923a9cf
7 files changed
+33 -51

No files matched your search

-2
View File
@@ -880,8 +880,6 @@ func evalConstValueBinaryOp(tm *t.Map, n *a.Expr, l *big.Int, r *big.Int) (*big.
return big.NewInt(0).Rsh(l, uint(r.Uint64())), nil
case t.IDXBinaryAmp:
return big.NewInt(0).And(l, r), nil
case t.IDXBinaryAmpHat:
return big.NewInt(0).AndNot(l, r), nil
case t.IDXBinaryPipe:
return big.NewInt(0).Or(l, r), nil
case t.IDXBinaryHat: