aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_wasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/os_wasm.go')
-rw-r--r--src/runtime/os_wasm.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/os_wasm.go b/src/runtime/os_wasm.go
index 1a6f7d802f..bf78dfb5f9 100644
--- a/src/runtime/os_wasm.go
+++ b/src/runtime/os_wasm.go
@@ -137,8 +137,9 @@ func preemptM(mp *m) {
// No threads, so nothing to do.
}
-// getcallerfp returns the address of the frame pointer in the callers frame or 0 if not implemented.
-func getcallerfp() uintptr { return 0 }
+// getfp returns the frame pointer register of its caller or 0 if not implemented.
+// TODO: Make this a compiler intrinsic
+func getfp() uintptr { return 0 }
func setProcessCPUProfiler(hz int32) {}
func setThreadCPUProfiler(hz int32) {}