mirror of
https://github.com/golang/go.git
synced 2026-06-27 03:11:23 +00:00
runtime: tweak outdated comment in cgocallback for amd64
A comment references GOEXPERIMENT=framepointer, but frame pointers have been unconditionally enabled on amd64 for a while. Change-Id: Id66f2de7a32d14c145608568dc765b416a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/771040 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
efa1eecc7d
commit
1d23a4caa1
1 changed files with 2 additions and 2 deletions
|
|
@ -1114,8 +1114,8 @@ havem:
|
|||
MOVQ fn+0(FP), AX
|
||||
MOVQ frame+8(FP), BX
|
||||
MOVQ ctxt+16(FP), CX
|
||||
// Compute the size of the frame, including return PC and, if
|
||||
// GOEXPERIMENT=framepointer, the saved base pointer
|
||||
// Compute the size of the frame, including the return PC and
|
||||
// saved frame pointer
|
||||
LEAQ fn+0(FP), R8
|
||||
SUBQ SP, R8 // R8 is our actual frame size
|
||||
SUBQ R8, DI // Allocate the same frame size on the g stack
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue