runtime/cgo: fix signature of crosscall_amd64 in comment

In commit 63de211014, crosscall_amd64() was changed to recieve 3
arguments, but the commet was not updated.
This commit is contained in:
MoZhonghua 2021-11-12 15:49:14 +08:00
parent b74f2efc47
commit e7c041f00c
1 changed files with 1 additions and 1 deletions

View File

@ -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