- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for LocalSlot (0.11 sec)
-
src/cmd/compile/internal/ssa/location.go
// parent = &{N: s, Type: string} type LocalSlot struct { N *ir.Name // an ONAME *ir.Name representing a stack location. Type *types.Type // type of slot Off int64 // offset of slot in N SplitOf *LocalSlot // slot is a decomposition of SplitOf SplitOffset int64 // .. at this offset. } func (s LocalSlot) String() string { if s.Off == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/export_test.go
t testing.TB ctxt *obj.Link f *ir.Func } func (TestFrontend) StringData(s string) *obj.LSym { return nil } func (d TestFrontend) SplitSlot(parent *LocalSlot, suffix string, offset int64, t *types.Type) LocalSlot { return LocalSlot{N: parent.N, Type: t, Off: offset} } func (d TestFrontend) Syslook(s string) *obj.LSym { return d.ctxt.Lookup(s) } func (TestFrontend) UseWriteBarrier() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sizeof_test.go
var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ {Value{}, 72, 112}, {Block{}, 164, 304}, {LocalSlot{}, 28, 40}, {valState{}, 28, 40}, } for _, tt := range tests { want := tt._32bit if _64bit { want = tt._64bit } got := reflect.TypeOf(tt.val).Size() if want != got {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 08 01:46:40 UTC 2020 - 855 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/print.go
} type funcPrinter interface { header(f *Func) startBlock(b *Block, reachable bool) endBlock(b *Block, reachable bool) value(v *Value, live bool) startDepCycle() endDepCycle() named(n LocalSlot, vals []*Value) } type stringFuncPrinter struct { w io.Writer printDead bool } func (p stringFuncPrinter) header(f *Func) { fmt.Fprint(p.w, f.Name) fmt.Fprint(p.w, " ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 3.9K bytes - Viewed (0)