Delete old limit- and mark-related code.

This commit is contained in:
Nigel Tao committed 2017-10-27 10:57:32 +11:00
1 parent aa396e7992
commit cbc8c39375
12 files changed
+10 -167

No files matched your search

-7
View File
@@ -241,10 +241,6 @@ func (q *checker) bcheckStatement(n *a.Node) error {
_, _, err := q.bcheckExpr(n.Expr(), 0)
return err
case a.KIO:
_, _, err := q.bcheckExpr(n.IO().Value(), 0)
return err
case a.KIf:
return q.bcheckIf(n.If())
@@ -889,9 +885,6 @@ func (q *checker) bcheckExprOther(n *a.Expr, depth uint32) (*big.Int, *big.Int,
return nil, nil, err
}
case t.KeyLimit:
return nil, nil, nil
default:
return nil, nil, fmt.Errorf("check: unrecognized token.Key (0x%X) for bcheckExprOther", n.ID0().Key())
}