Commit be36bd99 authored by Richard Musiol's avatar Richard Musiol Committed by Brad Fitzpatrick

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/118395Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent bd837745
...@@ -15,5 +15,5 @@ const ( ...@@ -15,5 +15,5 @@ const (
MIPS64 MIPS64
PPC64 PPC64
S390X S390X
Wasm WASM
) )
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
package sys package sys
const ( const (
ArchFamily = Wasm ArchFamily = WASM
BigEndian = false BigEndian = false
CacheLineSize = 64 CacheLineSize = 64
DefaultPhysPageSize = 65536 DefaultPhysPageSize = 65536
......
...@@ -940,7 +940,7 @@ func newstack() { ...@@ -940,7 +940,7 @@ func newstack() {
throw("missing stack in newstack") throw("missing stack in newstack")
} }
sp := gp.sched.sp 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. // The call to morestack cost a word.
sp -= sys.PtrSize sp -= sys.PtrSize
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment