- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewUnaryExpr (0.22 sec)
-
src/cmd/compile/internal/walk/assign.go
elemtype := s.Type().Elem() // Decompose slice. oldPtr := ir.NewUnaryExpr(base.Pos, ir.OSPTR, s) oldLen := ir.NewUnaryExpr(base.Pos, ir.OLEN, s) oldCap := ir.NewUnaryExpr(base.Pos, ir.OCAP, s) // Number of elements we are adding num := ir.NewUnaryExpr(base.Pos, ir.OLEN, l2) // newLen := oldLen + num
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/ir/func.go
if wantABI != obj.ABIInternal { base.ErrorfAt(pos, 0, "internal/abi.FuncPC%s does not accept func expression, which is ABIInternal", wantABI) } var e Node = NewUnaryExpr(pos, OIDATA, n) e.SetType(types.Types[types.TUINTPTR].PtrTo()) e.SetTypecheck(1) e = NewStarExpr(pos, e) e.SetType(types.Types[types.TUINTPTR]) e.SetTypecheck(1) return e }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0)