diff options
| author | Richard Musiol <mail@richard-musiol.de> | 2018-06-12 23:22:03 +0200 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-06-12 22:09:45 +0000 |
| commit | be36bd996eb120741ed866396e607fcd5e0b702a (patch) | |
| tree | c5bd7bc8d32112f9604d723c8b2bbdfe6afeeed3 /src/runtime/stack.go | |
| parent | bd83774593bca66cc899d5180c77680bc907fab8 (diff) | |
| download | go-be36bd996eb120741ed866396e607fcd5e0b702a.tar.xz | |
runtime/internal/sys: rename Wasm to WASM
This commit changes sys.Wasm to sys.WASM, as requested on
https://groups.google.com/forum/#!topic/golang-dev/VquDxlhjPkg
Change-Id: I30a208c34576a8bb49b9beb524203d71df8fdf1c
Reviewed-on: https://go-review.googlesource.com/118395
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
| -rw-r--r-- | src/runtime/stack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index d83e9d6722..648603db35 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -940,7 +940,7 @@ func newstack() { throw("missing stack in newstack") } sp := gp.sched.sp - if sys.ArchFamily == sys.AMD64 || sys.ArchFamily == sys.I386 || sys.ArchFamily == sys.Wasm { + if sys.ArchFamily == sys.AMD64 || sys.ArchFamily == sys.I386 || sys.ArchFamily == sys.WASM { // The call to morestack cost a word. sp -= sys.PtrSize } |
