- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for walkExpr (0.1 sec)
-
src/cmd/compile/internal/walk/stmt.go
} var init ir.Nodes call := n.Call.(*ir.CallExpr) call.Fun = walkExpr(call.Fun, &init) if len(init) > 0 { init.Append(n) return ir.NewBlockStmt(n.Pos(), init) } return n } // walkIf walks an OIF node. func walkIf(n *ir.IfStmt) ir.Node { n.Cond = walkExpr(n.Cond, n.PtrInit()) walkStmtList(n.Body) walkStmtList(n.Else) return n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.7K bytes - Viewed (0) -
test/fixedbugs/issue8154.go
// compile // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 8154: cmd/5g: ICE in walkexpr walk.c package main func main() { c := make(chan int) _ = [1][]func(){[]func(){func() { <-c }}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 313 bytes - Viewed (0) -
src/cmd/compile/internal/walk/closure.go
if x := clo.Prealloc; x != nil { if !types.Identical(typ, x.Type()) { panic("closure type does not match order's assigned type") } addr.Prealloc = x clo.Prealloc = nil } return walkExpr(cfn, init) } // closureArgs returns a slice of expressions that can be used to // initialize the given closure's free variables. These correspond // one-to-one with the variables in clo.Func.ClosureVars, and will be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 6.5K bytes - Viewed (0)