diff options
Diffstat (limited to 'src/runtime/sizeof_test.go')
-rw-r--r-- | src/runtime/sizeof_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/sizeof_test.go b/src/runtime/sizeof_test.go index ccc0864ca9..aa8caaadda 100644 --- a/src/runtime/sizeof_test.go +++ b/src/runtime/sizeof_test.go @@ -17,9 +17,9 @@ import ( func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 - g32bit := uintptr(252) + g32bit := uintptr(256) if goexperiment.ExecTracer2 { - g32bit = uintptr(256) + g32bit = uintptr(260) } var tests = []struct { @@ -27,7 +27,7 @@ func TestSizeof(t *testing.T) { _32bit uintptr // size on 32bit platforms _64bit uintptr // size on 64bit platforms }{ - {runtime.G{}, g32bit, 408}, // g, but exported for testing + {runtime.G{}, g32bit, 424}, // g, but exported for testing {runtime.Sudog{}, 56, 88}, // sudog, but exported for testing } |