- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ODEREF (0.09 sec)
-
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/noder/noder.go
} // linkname records a //go:linkname directive. type linkname struct { pos syntax.Pos local string remote string } var unOps = [...]ir.Op{ syntax.Recv: ir.ORECV, syntax.Mul: ir.ODEREF, syntax.And: ir.OADDR, syntax.Not: ir.ONOT, syntax.Xor: ir.OBITNOT, syntax.Add: ir.OPLUS, syntax.Sub: ir.ONEG, } var binOps = [...]ir.Op{ syntax.OrOr: ir.OOROR,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:40:57 UTC 2023 - 12.5K bytes - Viewed (0) -
test/newinline.go
} func gd2() int { // ERROR "can inline gd2" return 1 } func gd3() func() { // ERROR "can inline gd3" return ii } // Issue #42788 - ensure ODEREF OCONVNOP* OADDR is low cost. func EncodeQuad(d []uint32, x [6]float32) { // ERROR "can inline EncodeQuad" "d does not escape" _ = d[:6] d[0] = float32bits(x[0]) // ERROR "inlining call to float32bits"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
case ir.OCALLFUNC, ir.OCALLINTER, ir.OUNSAFEADD, ir.OUNSAFESLICE: return true case ir.OINDEX, ir.OSLICE, ir.OSLICEARR, ir.OSLICE3, ir.OSLICE3ARR, ir.OSLICESTR, ir.ODEREF, ir.ODOTPTR, ir.ODOTTYPE, ir.ODYNAMICDOTTYPE, ir.ODIV, ir.OMOD, ir.OSLICE2ARR, ir.OSLICE2ARRPTR: // These ops might panic, make sure they are done // before we start marshaling args for a call. See issue 16760.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
test/inline.go
} func gd2() int { // ERROR "can inline gd2" return 1 } func gd3() func() { // ERROR "can inline gd3" return ii } // Issue #42788 - ensure ODEREF OCONVNOP* OADDR is low cost. func EncodeQuad(d []uint32, x [6]float32) { // ERROR "can inline EncodeQuad" "d does not escape" _ = d[:6] d[0] = float32bits(x[0]) // ERROR "inlining call to float32bits"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
case ir.ODOTMETH, ir.ODOTINTER: n := n.(*ir.SelectorExpr) n.X = walkExpr(n.X, init) return n case ir.OADDR: n := n.(*ir.AddrExpr) n.X = walkExpr(n.X, init) return n case ir.ODEREF: n := n.(*ir.StarExpr) n.X = walkExpr(n.X, init) return n case ir.OMAKEFACE, ir.OAND, ir.OANDNOT, ir.OSUB, ir.OMUL, ir.OADD, ir.OOR, ir.OXOR, ir.OLSH, ir.ORSH, ir.OUNSAFEADD: n := n.(*ir.BinaryExpr)
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/typecheck/typecheck.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/range.go
if stmt.X.Op() != ir.OINDEX { return nil } lhs := stmt.X.(*ir.IndexExpr) x := lhs.X if a.Type().IsPtr() && a.Type().Elem().IsArray() { if s, ok := x.(*ir.StarExpr); ok && s.Op() == ir.ODEREF { x = s.X } } if !ir.SameSafeExpr(x, a) || !ir.SameSafeExpr(lhs.Index, v1) { return nil } if !ir.IsZero(stmt.Y) { return nil }
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/walk/assign.go
default: base.Fatalf("unexpected lvalue %v", l.Op()) case ir.ONAME: name = l.(*ir.Name) case ir.OINDEX, ir.OINDEXMAP: l := l.(*ir.IndexExpr) save(&l.X) save(&l.Index) case ir.ODEREF: l := l.(*ir.StarExpr) save(&l.X) case ir.ODOTPTR: l := l.(*ir.SelectorExpr) save(&l.X) } // Save expression on right side. save(&r)
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/typecheck/expr.go
if ir.IsConst(n.Len, constant.Int) && ir.Int64Val(n.Len) < 0 { base.Fatalf("len for OSTRINGHEADER must be non-negative") } return n } // tcStar typechecks an ODEREF node, which may be an expression or a type. func tcStar(n *ir.StarExpr, top int) ir.Node { n.X = typecheck(n.X, ctxExpr|ctxType) l := n.X t := l.Type() if t == nil { n.SetType(nil) return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0)