- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SetWalked (0.12 sec)
-
src/cmd/compile/internal/ir/mini.go
if x > 2 { panic(fmt.Sprintf("cannot SetTypecheck %d", x)) } n.bits.set2(miniTypecheckShift, x) } func (n *miniNode) Walked() bool { return n.bits&miniWalked != 0 } func (n *miniNode) SetWalked(x bool) { n.bits.set(miniWalked, x) } // Empty, immutable graph structure. func (n *miniNode) Init() Nodes { return Nodes{} } // Additional functionality unavailable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 22:09:44 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/closure.go
// // Don't add the closure function to compilation queue more than once, since when // compiling a function twice would lead to an ICE. if !clofn.Walked() { clofn.SetWalked(true) ir.CurFunc.Closures = append(ir.CurFunc.Closures, clofn) } typ := typecheck.ClosureType(clo) clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil) clos.SetEsc(clo.Esc())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
"cmd/compile/internal/types" "cmd/internal/src" ) func walkSelect(sel *ir.SelectStmt) { lno := ir.SetPos(sel) if sel.Walked() { base.Fatalf("double walkSelect") } sel.SetWalked(true) init := ir.TakeInit(sel) init = append(init, walkSelectCases(sel.Cases)...) sel.Cases = nil sel.Compiled = init walkStmtList(sel.Compiled) base.Pos = lno }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
} } walkCall1(n, init) return n } func walkCall1(n *ir.CallExpr, init *ir.Nodes) { if n.Walked() { return // already walked } n.SetWalked(true) if n.Op() == ir.OCALLMETH { base.FatalfAt(n.Pos(), "OCALLMETH missed by typecheck") } args := n.Args params := n.Fun.Type().Params() n.Fun = walkExpr(n.Fun, init)
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/switch.go
func walkSwitch(sw *ir.SwitchStmt) { // Guard against double walk, see #25776. if sw.Walked() { return // Was fatal, but eliminating every possible source of double-walking is hard } sw.SetWalked(true) if sw.Tag != nil && sw.Tag.Op() == ir.OTYPESW { walkSwitchType(sw) } else { walkSwitchExpr(sw) } } // walkSwitchExpr generates an AST implementing sw. sw is an // expression switch.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0)