mirror of
https://github.com/golang/go.git
synced 2024-09-21 18:38:37 +00:00
runtime/cgo: fix signature of crosscall_amd64 in comment
In CL 289192, crosscall_amd64() was changed to recieve 3
arguments, but the comment was not updated.
Change-Id: Iba36c27aa5189e50f3fcc2a50291fecb2ef722c1
GitHub-Last-Rev: e7c041f00c
GitHub-Pull-Request: golang/go#49539
Reviewed-on: https://go-review.googlesource.com/c/go/+/363442
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
dc5a8f9647
commit
c948823cb7
@ -12,7 +12,7 @@
|
||||
#endif
|
||||
|
||||
/*
|
||||
* void crosscall_amd64(void (*fn)(void))
|
||||
* void crosscall_amd64(void (*fn)(void), void (*setg_gcc)(void*), void *g)
|
||||
*
|
||||
* Calling into the 6c tool chain, where all registers are caller save.
|
||||
* Called from standard x86-64 ABI, where %rbx, %rbp, %r12-%r15
|
||||
|
Loading…
Reference in New Issue
Block a user