diff options
Diffstat (limited to 'src/runtime/malloc.go')
| -rw-r--r-- | src/runtime/malloc.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index 38c7a3b847..7d7f9e11d3 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go @@ -781,6 +781,8 @@ func largeAlloc(size uintptr, needzero bool) *mspan { } // implementation of new builtin +// compiler (both frontend and SSA backend) knows the signature +// of this function func newobject(typ *_type) unsafe.Pointer { return mallocgc(typ.size, typ, true) } |
