aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_wasm.s
diff options
context:
space:
mode:
authorJohan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>2023-03-24 23:11:55 -0700
committerGopher Robot <gobot@golang.org>2023-04-06 17:48:24 +0000
commitbe50055eef0f460695adb8db2b130392dc367fe7 (patch)
treede5f16a5f94368df7f74c1eb648e159841c2bafd /src/runtime/sys_wasm.s
parentc02fa75086dbc6db0d90f477e7b4c839140fdeb2 (diff)
downloadgo-be50055eef0f460695adb8db2b130392dc367fe7.tar.xz
runtime: add remaining wasip1 files
Implements OS interactions and memory management. For #58141 Co-authored-by: Richard Musiol <neelance@gmail.com> Co-authored-by: Achille Roussel <achille.roussel@gmail.com> Co-authored-by: Julien Fabre <ju.pryz@gmail.com> Co-authored-by: Evan Phoenix <evan@phx.io> Change-Id: I876e7b033090c2fe2d76d2535bb63d52efa36185 Reviewed-on: https://go-review.googlesource.com/c/go/+/479618 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sys_wasm.s')
-rw-r--r--src/runtime/sys_wasm.s9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/sys_wasm.s b/src/runtime/sys_wasm.s
index bd60e1d419..1e73adadd5 100644
--- a/src/runtime/sys_wasm.s
+++ b/src/runtime/sys_wasm.s
@@ -86,15 +86,6 @@ TEXT runtime·exitThread(SB), NOSPLIT, $0-0
TEXT runtime·osyield(SB), NOSPLIT, $0-0
UNDEF
-TEXT runtime·usleep(SB), NOSPLIT, $0-0
- RET // TODO(neelance): implement usleep
-
-TEXT runtime·currentMemory(SB), NOSPLIT, $0
- Get SP
- CurrentMemory
- I32Store ret+0(FP)
- RET
-
TEXT runtime·growMemory(SB), NOSPLIT, $0
Get SP
I32Load pages+0(FP)