diff options
Diffstat (limited to 'src/runtime/mgcstack.go')
| -rw-r--r-- | src/runtime/mgcstack.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/mgcstack.go b/src/runtime/mgcstack.go index 49dc54e165..472c61a491 100644 --- a/src/runtime/mgcstack.go +++ b/src/runtime/mgcstack.go @@ -158,6 +158,7 @@ type stackObject struct { } // obj.r = r, but with no write barrier. +// //go:nowritebarrier func (obj *stackObject) setRecord(r *stackObjectRecord) { // Types of stack objects are always in read-only memory, not the heap. |
