aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mkpreempt.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/mkpreempt.go')
-rw-r--r--src/runtime/mkpreempt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mkpreempt.go b/src/runtime/mkpreempt.go
index 08500a90d5..6a9cf77a43 100644
--- a/src/runtime/mkpreempt.go
+++ b/src/runtime/mkpreempt.go
@@ -370,7 +370,7 @@ func genARM64() {
p("MOVD -8(RSP), R29") // restore frame pointer
p("MOVD (RSP), R27") // load PC to REGTMP
p("ADD $%d, RSP", l.stack+16) // pop frame (including the space pushed by sigctxt.pushCall)
- p("JMP (R27)")
+ p("RET (R27)")
}
func genMIPS(_64bit bool) {