diff options
| author | Russ Cox <rsc@golang.org> | 2010-04-09 15:30:40 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-04-09 15:30:40 -0700 |
| commit | 6363542695045d39715c3d00a0d4863e6f85ada2 (patch) | |
| tree | 0c038cd0f1668e510d51195b96ff37adbc4b5e73 /src/pkg/runtime/slice.c | |
| parent | 08852ffe80b30f8c46c7a9b68c56b0dee42584c4 (diff) | |
| download | go-6363542695045d39715c3d00a0d4863e6f85ada2.tar.xz | |
runtime: delete malx, skip_depth argument to malloc
remove internal functions from traces in gopprof instead.
R=r
CC=golang-dev
https://golang.org/cl/855046
Diffstat (limited to 'src/pkg/runtime/slice.c')
| -rw-r--r-- | src/pkg/runtime/slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/slice.c b/src/pkg/runtime/slice.c index ca2585c796..c3c079c670 100644 --- a/src/pkg/runtime/slice.c +++ b/src/pkg/runtime/slice.c @@ -23,7 +23,7 @@ void ret.cap = cap; if((t->elem->kind&KindNoPointers)) - ret.array = mallocgc(size, RefNoPointers, 1, 1, 1); + ret.array = mallocgc(size, RefNoPointers, 1, 1); else ret.array = mal(size); |
