aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stubs_arm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stubs_arm.go')
-rw-r--r--src/runtime/stubs_arm.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/stubs_arm.go b/src/runtime/stubs_arm.go
index be40a2b06a..e19f1a87b2 100644
--- a/src/runtime/stubs_arm.go
+++ b/src/runtime/stubs_arm.go
@@ -24,5 +24,6 @@ func read_tls_fallback()
//go:noescape
func asmcgocall_no_g(fn, arg unsafe.Pointer)
-// 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 }