diff options
author | Austin Clements <austin@google.com> | 2014-11-18 09:54:50 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2014-11-18 09:54:50 -0500 |
commit | 0a3230f567f22ab9b53d84bb0140ff5966fd24fd (patch) | |
tree | bbfac09a636cb052565a3dbfd5513e9608b1e796 /src/runtime | |
parent | be825f8efbb2f52f28df83cab8db9e9006ce1a8c (diff) | |
download | go-0a3230f567f22ab9b53d84bb0140ff5966fd24fd.tar.gz |
[dev.cc] runtime: two missed references to "M stack"
LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/177940043
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/asm_amd64p32.s | 2 | ||||
-rw-r--r-- | src/runtime/panic.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/asm_amd64p32.s b/src/runtime/asm_amd64p32.s index cead3cd07..b8370efd3 100644 --- a/src/runtime/asm_amd64p32.s +++ b/src/runtime/asm_amd64p32.s @@ -169,7 +169,7 @@ TEXT runtime·mcall(SB), NOSPLIT, $0-4 // of the G stack. We need to distinguish the routine that // lives at the bottom of the G stack from the one that lives // at the top of the system stack because the one at the top of -// the M stack terminates the stack walk (see topofstack()). +// the system stack terminates the stack walk (see topofstack()). TEXT runtime·systemstack_switch(SB), NOSPLIT, $0-0 RET diff --git a/src/runtime/panic.go b/src/runtime/panic.go index 892946702..95e780b1d 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -162,7 +162,7 @@ func init() { // Allocate a Defer, usually using per-P pool. // Each defer must be released with freedefer. -// Note: runs on M stack +// Note: runs on g0 stack func newdefer(siz int32) *_defer { var d *_defer sc := deferclass(uintptr(siz)) |