mirror of
https://github.com/golang/go
synced 2024-09-28 20:14:28 -06:00
runtime: remove getcallerpc on riscv64
This was converted to a compiler intrinsic and no longer needs to exist in assembly. Change-Id: I7495c435d4642e0e71d8f7677d70af3a3ca2a6ba Reviewed-on: https://go-review.googlesource.com/c/go/+/539195 Run-TryBot: Joel Sing <joel@sing.id.au> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
450f469c3c
commit
642b131111
@ -148,11 +148,6 @@ noswitch:
|
||||
ADD $8, X2
|
||||
JMP (T1)
|
||||
|
||||
TEXT runtime·getcallerpc(SB),NOSPLIT|NOFRAME,$0-8
|
||||
MOV 0(X2), T0 // LR saved by caller
|
||||
MOV T0, ret+0(FP)
|
||||
RET
|
||||
|
||||
// func switchToCrashStack0(fn func())
|
||||
TEXT runtime·switchToCrashStack0<ABIInternal>(SB), NOSPLIT, $0-8
|
||||
MOV X10, CTXT // context register
|
||||
|
Loading…
Reference in New Issue
Block a user