]> Cypherpunks repositories - gostls13.git/commit
all: rename WebAssembly instructions according to spec changes
authorRichard Musiol <mail@richard-musiol.de>
Wed, 12 Dec 2018 12:04:44 +0000 (13:04 +0100)
committerRichard Musiol <neelance@gmail.com>
Sun, 3 Mar 2019 21:10:01 +0000 (21:10 +0000)
commitc0d82bb0eca81aa13c2e605b4a25655f61a159aa
tree1bfc2d2d4433a185997329c625b9164d82415032
parent159b2de4428d47e422ffd696e0f0c62353c4bb79
all: rename WebAssembly instructions according to spec changes

The names of some instructions have been updated in the WebAssembly
specification to be more consistent, see
https://github.com/WebAssembly/spec/commit/994591e51c9df9e7ef980b04d660709b79982f75.
This change to the spec is possible because it is still in a draft
state.

Go's support for WebAssembly is still experimental and thus excempt from
the compatibility promise. Being consistent with the spec should
warrant this breaking change to the assembly instruction names.

Change-Id: Iafb8b18ee7f55dd0e23c6c7824aa1fad43117ef1
Reviewed-on: https://go-review.googlesource.com/c/153797
Run-TryBot: Richard Musiol <neelance@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
14 files changed:
src/cmd/compile/internal/ssa/gen/Wasm.rules
src/cmd/compile/internal/ssa/gen/WasmOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteWasm.go
src/cmd/compile/internal/wasm/ssa.go
src/cmd/internal/obj/wasm/a.out.go
src/cmd/internal/obj/wasm/anames.go
src/cmd/internal/obj/wasm/wasmobj.go
src/internal/bytealg/compare_wasm.s
src/internal/bytealg/indexbyte_wasm.s
src/reflect/asm_wasm.s
src/runtime/asm_wasm.s
src/runtime/rt0_js_wasm.s
src/runtime/sys_wasm.s