- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IndexMapRType (0.14 sec)
-
src/cmd/compile/internal/reflectdata/helpers.go
if hasRType(n, n.RType, "RType") { return n.RType } return mapRType(pos, n.Args[0].Type()) } // IndexMapRType asserts that n is a map index operation, and returns // an expression that yields the *runtime._type value representing the // map type. func IndexMapRType(pos src.XPos, n *ir.IndexExpr) ir.Node { assertOp(n, ir.OINDEXMAP) if hasRType(n, n.RType, "RType") { return n.RType }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
fn := mapfn(mapaccess2[fast], t, false) call = mkcall1(fn, fn.Type().ResultsTuple(), init, reflectdata.IndexMapRType(base.Pos, r), r.X, key) } else { fn := mapfn("mapaccess2_fat", t, true) z := reflectdata.ZeroAddr(w) call = mkcall1(fn, fn.Type().ResultsTuple(), init, reflectdata.IndexMapRType(base.Pos, r), r.X, key, z) } // mapaccess2* returns a typed bool, but due to spec changes,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
n.X = walkExpr(n.X, init) n.Index = walkExpr(n.Index, init) map_ := n.X t := map_.Type() fast := mapfast(t) key := mapKeyArg(fast, n, n.Index, n.Assigned) args := []ir.Node{reflectdata.IndexMapRType(base.Pos, n), map_, key} var mapFn ir.Node switch { case n.Assigned: mapFn = mapfn(mapassign[fast], t, false) case t.Elem().Size() > abi.ZeroValSize:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0)