- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for walkDot (0.09 sec)
-
src/cmd/compile/internal/walk/expr.go
fn += "div" } else { fn += "mod" } return mkcall(fn, n.Type(), init, typecheck.Conv(n.X, types.Types[et]), typecheck.Conv(n.Y, types.Types[et])) } return n } // walkDot walks an ODOT or ODOTPTR node. func walkDot(n *ir.SelectorExpr, init *ir.Nodes) ir.Node { usefield(n) n.X = walkExpr(n.X, init) return n } // walkDotType walks an ODOTTYPE or ODOTTYPE2 node.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/stmt.go
// to avoid confusion about what gets returned // in the presence of type assertions. } func walkStmtList(s []ir.Node) { for i := range s { s[i] = walkStmt(s[i]) } } // walkFor walks an OFOR node. func walkFor(n *ir.ForStmt) ir.Node { if n.Cond != nil { init := ir.TakeInit(n.Cond) walkStmtList(init) n.Cond = walkExpr(n.Cond, &init) n.Cond = ir.InitExpr(init, n.Cond) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.7K bytes - Viewed (0)