]> Cypherpunks repositories - gostls13.git/commit
all: enable vet/all for js/wasm and fix vet issues
authorRichard Musiol <mail@richard-musiol.de>
Fri, 8 Jun 2018 16:12:57 +0000 (18:12 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 15 Jun 2018 00:05:22 +0000 (00:05 +0000)
commitc12399fffb6ff9fb947a10e445fdfdc62c697e2c
tree448d1ff26634d0afa5781cf4ea9bca102443f82c
parentadf72bbc9a11fa14de80b1e68fd58f0e4a0248a8
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>
src/cmd/vet/all/main.go
src/cmd/vet/all/whitelist/wasm.txt [new file with mode: 0644]
src/cmd/vet/asmdecl.go
src/internal/bytealg/compare_wasm.s
src/internal/bytealg/indexbyte_wasm.s
src/runtime/asm_wasm.s
src/runtime/rt0_js_wasm.s
src/syscall/time_js_wasm.s [deleted file]