diff options
| author | Austin Clements <austin@google.com> | 2017-02-09 14:11:13 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-02-14 15:52:56 +0000 |
| commit | 0993b2fd06a43a2e51b68dd7d8b0643e50c54b9d (patch) | |
| tree | ac154cd3b3f707810484addea0eab4a99384d58b /src/runtime/runtime2.go | |
| parent | d089a6c7187f1ff85277515405ec6c641588a7ff (diff) | |
| download | go-0993b2fd06a43a2e51b68dd7d8b0643e50c54b9d.tar.xz | |
runtime: remove g.stackAlloc
Since we're no longer stealing space for the stack barrier array from
the stack allocation, the stack allocation is simply
g.stack.hi-g.stack.lo.
Updates #17503.
Change-Id: Id9b450ae12c3df9ec59cfc4365481a0a16b7c601
Reviewed-on: https://go-review.googlesource.com/36621
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 4812268a19..f0b919453a 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -341,7 +341,6 @@ type g struct { _panic *_panic // innermost panic - offset known to liblink _defer *_defer // innermost defer m *m // current m; offset known to arm liblink - stackAlloc uintptr // stack allocation is [stack.lo,stack.lo+stackAlloc) sched gobuf syscallsp uintptr // if status==Gsyscall, syscallsp = sched.sp to use during gc syscallpc uintptr // if status==Gsyscall, syscallpc = sched.pc to use during gc |
