- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ODCLFUNC (0.81 sec)
-
src/cmd/compile/internal/ssagen/nowb.go
// maps from the ODCLFUNC of each function that must not have // write barriers to the call that inhibits them. Functions // that are directly marked go:nowritebarrierrec are in this // map with a zero-valued nowritebarrierrecCall. This also // acts as the set of marks for the BFS of the call graph. funcs := make(map[*ir.Func]nowritebarrierrecCall) // q is the queue of ODCLFUNC Nodes to visit in BFS order.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// // The ONAME node (Func.Nname) is used for plain references to it. // The ODCLFUNC node (the Func itself) is used for its declaration code. // The OCLOSURE node (Func.OClosure) is used for a reference to a // function literal. // // An imported function will have an ONAME node which points to a Func // with an empty body. // A declared function or method has an ODCLFUNC (the Func itself) and an ONAME.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
ft := f.Nname.Type() if ft.NumRecvs() != 0 { base.ErrorfAt(f.Pos(), 0, "makeABIWrapper support for wrapping methods not implemented") return } // Reuse f's types.Sym to create a new ODCLFUNC/function. // TODO(mdempsky): Means we can't set sym.Def in Declfunc, ugh. fn := ir.NewFunc(pos, pos, f.Sym(), types.NewSignature(nil, typecheck.NewFuncParams(ft.Params()), typecheck.NewFuncParams(ft.Results())))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/ir/fmt.go
// for the constant value. if k := val.Kind(); typ == types.Types[types.DefaultKinds[k]] || typ == types.UntypedTypes[k] { fmt.Fprint(s, val) } else { fmt.Fprintf(s, "%v(%v)", typ, val) } case ODCLFUNC: n := n.(*Func) if sym := n.Sym(); sym != nil { fmt.Fprint(s, sym) return } fmt.Fprintf(s, "<unnamed Func>") case ONAME: n := n.(*Name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 26K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
case ir.ORANGE: tcRange(n.(*ir.RangeStmt)) return n case ir.OTYPESW: n := n.(*ir.TypeSwitchGuard) base.Fatalf("use of .(type) outside type switch") return n case ir.ODCLFUNC: tcFunc(n.(*ir.Func)) return n } // No return n here! // Individual cases can type-assert n, introducing a new one. // Each must execute its own return 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)