diff options
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/funcdata.h | 4 | ||||
| -rw-r--r-- | src/runtime/symtab.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/funcdata.h b/src/runtime/funcdata.h index 82992e221b..c77e7b094f 100644 --- a/src/runtime/funcdata.h +++ b/src/runtime/funcdata.h @@ -6,9 +6,7 @@ // in Go binaries. It is included by assembly sources, so it must // be written using #defines. // -// The Go compiler also #includes this file, for now. -// -// symtab.go also contains a copy of these constants. +// These must agree with symtab.go and ../cmd/internal/obj/funcdata.go. #define PCDATA_StackMapIndex 0 diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go index 377d970f09..ad8a8a1b8d 100644 --- a/src/runtime/symtab.go +++ b/src/runtime/symtab.go @@ -168,7 +168,9 @@ func (f *Func) raw() *_func { return (*_func)(unsafe.Pointer(f)) } -// funcdata.h +// PCDATA and FUNCDATA table indexes. +// +// See funcdata.h and ../cmd/internal/obj/funcdata.go. const ( _PCDATA_StackMapIndex = 0 _FUNCDATA_ArgsPointerMaps = 0 |
