diff options
Diffstat (limited to 'src/runtime/internal/sys')
| -rw-r--r-- | src/runtime/internal/sys/nih.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/internal/sys/nih.go b/src/runtime/internal/sys/nih.go index 2e3c9794e6..17eab67345 100644 --- a/src/runtime/internal/sys/nih.go +++ b/src/runtime/internal/sys/nih.go @@ -4,9 +4,8 @@ package sys -// TODO: make this as a compiler intrinsic type, and remove go:notinheap -// -//go:notinheap +// NOTE: keep in sync with cmd/compile/internal/types.CalcSize +// to make the compiler recognize this as an intrinsic type. type nih struct{} // NotInHeap is a type must never be allocated from the GC'd heap or on the stack, |
