]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: fix signature of crosscall_amd64 in comment
authorMoZhonghua <Kasulle@gmail.com>
Fri, 12 Nov 2021 08:08:25 +0000 (08:08 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 15 Dec 2021 00:14:57 +0000 (00:14 +0000)
In CL 289192, crosscall_amd64() was changed to recieve 3
arguments, but the comment was not updated.

Change-Id: Iba36c27aa5189e50f3fcc2a50291fecb2ef722c1
GitHub-Last-Rev: e7c041f00c562fdfeec84f1f3ea341713dcc7bf5
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>
src/runtime/cgo/gcc_amd64.S

index d75f8646663ab497a7ef5bcea498291f7301772b..46699d1d9ccaf10d7cc7b6486aa797041c9e6454 100644 (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