- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for oas (0.03 sec)
-
test/fixedbugs/issue15091.go
// or (now, with the error caught earlier) // Treating auto as if it were arg, func (*Html).xyzzy, node ... // caused by racewalker inserting instrumentation before an OAS where the Ninit // of the OAS defines part of its right-hand-side. (I.e., the race instrumentation // references a variable before it is defined.) func (options *Html) xyzzy(id string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 989 bytes - Viewed (0) -
src/cmd/compile/internal/walk/stmt.go
n := n.(*ir.Name) base.Errorf("%v is not a top level statement", n.Sym()) } else { base.Errorf("%v is not a top level statement", n.Op()) } ir.Dump("nottop", n) return n case ir.OAS, ir.OASOP, ir.OAS2, ir.OAS2DOTTYPE, ir.OAS2RECV, ir.OAS2FUNC, ir.OAS2MAPR, ir.OCLEAR, ir.OCLOSE, ir.OCOPY, ir.OCALLINTER, ir.OCALL, ir.OCALLFUNC, ir.ODELETE,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
"cmd/compile/internal/typecheck" "cmd/compile/internal/types" "cmd/internal/src" ) // walkAssign walks an OAS (AssignExpr) or OASOP (AssignOpExpr) node. func walkAssign(init *ir.Nodes, n ir.Node) ir.Node { init.Append(ir.TakeInit(n)...) var left, right ir.Node switch n.Op() { case ir.OAS: n := n.(*ir.AssignStmt) left, right = n.X, n.Y case ir.OASOP: n := n.(*ir.AssignOpStmt) left, right = n.X, n.Y
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/staticinit/sched.go
func (s *Schedule) tryStaticInit(n ir.Node) bool { var lhs []ir.Node var rhs ir.Node switch n.Op() { default: base.FatalfAt(n.Pos(), "unexpected initialization statement: %v", n) case ir.OAS: n := n.(*ir.AssignStmt) lhs, rhs = []ir.Node{n.X}, n.Y case ir.OAS2DOTTYPE, ir.OAS2FUNC, ir.OAS2MAPR, ir.OAS2RECV: n := n.(*ir.AssignListStmt) if len(n.Lhs) < 2 || len(n.Rhs) != 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
case ir.ORECOVERFP: return walkRecoverFP(n.(*ir.CallExpr), init) case ir.OCFUNC: return n case ir.OCALLINTER, ir.OCALLFUNC: n := n.(*ir.CallExpr) return walkCall(n, init) case ir.OAS, ir.OASOP: return walkAssign(init, n) case ir.OAS2: n := n.(*ir.AssignListStmt) return walkAssignList(init, n) // a,b,... = fn() case ir.OAS2FUNC: n := n.(*ir.AssignListStmt)
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/ir/fmt.go
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/walk/order.go
// // m = OMAKESLICECOPY([]T, x, s); nil func orderMakeSliceCopy(s []ir.Node) { if base.Flag.N != 0 || base.Flag.Cfg.Instrumenting { return } if len(s) < 2 || s[0] == nil || s[0].Op() != ir.OAS || s[1] == nil || s[1].Op() != ir.OCOPY { return } as := s[0].(*ir.AssignStmt) cp := s[1].(*ir.BinaryExpr) if as.Y == nil || as.Y.Op() != ir.OMAKESLICE || ir.IsBlank(as.X) ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/range.go
} if v1 == nil || v2 != nil { return nil } if len(loop.Body) != 1 || loop.Body[0] == nil { return nil } stmt1 := loop.Body[0] // only stmt in body if stmt1.Op() != ir.OAS { return nil } stmt := stmt1.(*ir.AssignStmt) if stmt.X.Op() != ir.OINDEX { return nil } lhs := stmt.X.(*ir.IndexExpr) x := lhs.X if a.Type().IsPtr() && a.Type().Elem().IsArray() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:33 UTC 2023 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
// on the same line). This matches the approach before 1.10. pos = ncase.Pos() } base.ErrorfAt(pos, errors.InvalidSelectCase, "select case must be receive, send or assign recv") case ir.OAS: // convert x = <-c into x, _ = <-c // remove implicit conversions; the eventual assignment // will reintroduce them. n := n.(*ir.AssignStmt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0)