- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tcSliceHeader (0.12 sec)
-
src/cmd/compile/internal/typecheck/expr.go
return n } if !checksliceconst(n.Low, n.High) || !checksliceconst(n.Low, n.Max) || !checksliceconst(n.High, n.Max) { n.SetType(nil) return n } return n } // tcSliceHeader typechecks an OSLICEHEADER node. func tcSliceHeader(n *ir.SliceHeaderExpr) ir.Node { // Errors here are Fatalf instead of Errorf because only the compiler // can construct an OSLICEHEADER node.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
case ir.ORECV: n := n.(*ir.UnaryExpr) return tcRecv(n) case ir.OSEND: n := n.(*ir.SendStmt) return tcSend(n) case ir.OSLICEHEADER: n := n.(*ir.SliceHeaderExpr) return tcSliceHeader(n) case ir.OSTRINGHEADER: n := n.(*ir.StringHeaderExpr) return tcStringHeader(n) case ir.OMAKESLICECOPY: n := n.(*ir.MakeExpr) return tcMakeSliceCopy(n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0)