- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StaticAssign (0.23 sec)
-
src/cmd/compile/internal/staticinit/sched.go
if len(lhs) > 1 { return false } lno := ir.SetPos(n) defer func() { base.Pos = lno }() nam := lhs[0].(*ir.Name) return s.StaticAssign(nam, 0, rhs, nam.Type()) } // like staticassign but we are copying an already // initialized value r. func (s *Schedule) staticcopy(l *ir.Name, loff int64, rn *ir.Name, typ *types.Type) bool { if rn.Class == ir.PFUNC {
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/order.go
n = typecheck.DefaultLit(n, nil) types.CalcSize(n.Type()) vstat := readonlystaticname(n.Type()) var s staticinit.Schedule s.StaticAssign(vstat, 0, n, n.Type()) if s.Out != nil { base.Fatalf("staticassign of const generated code: %+v", n) } vstat = typecheck.Expr(vstat).(*ir.Name) return vstat } // Prevent taking the address of an SSA-able local variable (#63332).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0)