aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm_wasm.s
diff options
context:
space:
mode:
authorRichard Musiol <mail@richard-musiol.de>2018-06-08 18:12:57 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2018-06-15 00:05:22 +0000
commitc12399fffb6ff9fb947a10e445fdfdc62c697e2c (patch)
tree448d1ff26634d0afa5781cf4ea9bca102443f82c /src/runtime/asm_wasm.s
parentadf72bbc9a11fa14de80b1e68fd58f0e4a0248a8 (diff)
downloadgo-c12399fffb6ff9fb947a10e445fdfdc62c697e2c.tar.gz
go-c12399fffb6ff9fb947a10e445fdfdc62c697e2c.zip
all: enable vet/all for js/wasm and fix vet issues
This commit enables vet/all for the js/wasm architecture. It got skipped initially because the codebase did not fully compile yet for js/wasm, which made vet/all fail. startTimer and stopTimer are not needed in the syscall package. Removed their assembly code since their Go stubs were already gone. Change-Id: Icaeb6d903876e51ceb1edff7631f715a98c28696 Reviewed-on: https://go-review.googlesource.com/118657 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/asm_wasm.s')
-rw-r--r--src/runtime/asm_wasm.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/asm_wasm.s b/src/runtime/asm_wasm.s
index 67d7bf17dd..baf840d0cf 100644
--- a/src/runtime/asm_wasm.s
+++ b/src/runtime/asm_wasm.s
@@ -186,7 +186,7 @@ TEXT runtime·return0(SB), NOSPLIT, $0-0
RET
TEXT runtime·jmpdefer(SB), NOSPLIT, $0-16
- MOVD fn+0(FP), CTXT
+ MOVD fv+0(FP), CTXT
Get CTXT
I64Eqz
@@ -297,7 +297,7 @@ TEXT reflect·call(SB), NOSPLIT, $0-0
JMP ·reflectcall(SB)
TEXT ·reflectcall(SB), NOSPLIT, $0-32
- I64Load f+8(FP)
+ I64Load fn+8(FP)
I64Eqz
If
CALLNORESUME runtime·sigpanic(SB)