aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
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/syscall
parentadf72bbc9a11fa14de80b1e68fd58f0e4a0248a8 (diff)
downloadgo-c12399fffb6ff9fb947a10e445fdfdc62c697e2c.tar.xz
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/syscall')
-rw-r--r--src/syscall/time_js_wasm.s11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/syscall/time_js_wasm.s b/src/syscall/time_js_wasm.s
deleted file mode 100644
index f08b17006d..0000000000
--- a/src/syscall/time_js_wasm.s
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-#include "textflag.h"
-
-TEXT ·startTimer(SB),NOSPLIT,$0
- JMP time·startTimer(SB)
-
-TEXT ·stopTimer(SB),NOSPLIT,$0
- JMP time·stopTimer(SB)