diff options
Diffstat (limited to 'src/runtime/funcdata.h')
-rw-r--r-- | src/runtime/funcdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/funcdata.h b/src/runtime/funcdata.h index a2667a4c0..d6c14fcb4 100644 --- a/src/runtime/funcdata.h +++ b/src/runtime/funcdata.h @@ -28,6 +28,9 @@ // defines the pointer map for the function's arguments. // GO_ARGS should be the first instruction in a function that uses it. // It can be omitted if there are no arguments at all. +// GO_ARGS is inserted implicitly by the linker for any function +// that also has a Go prototype and therefore is usually not necessary +// to write explicitly. #define GO_ARGS FUNCDATA $FUNCDATA_ArgsPointerMaps, go_args_stackmap(SB) // GO_RESULTS_INITIALIZED indicates that the assembly function |