aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/slice.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-09 15:30:40 -0700
committerRuss Cox <rsc@golang.org>2010-04-09 15:30:40 -0700
commit6363542695045d39715c3d00a0d4863e6f85ada2 (patch)
tree0c038cd0f1668e510d51195b96ff37adbc4b5e73 /src/pkg/runtime/slice.c
parent08852ffe80b30f8c46c7a9b68c56b0dee42584c4 (diff)
downloadgo-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.c2
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);