summaryrefslogtreecommitdiffstats
path: root/libgo/runtime/go-new.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/go-new.c')
-rw-r--r--libgo/runtime/go-new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-new.c b/libgo/runtime/go-new.c
index a592174e50f..8f25c5730ef 100644
--- a/libgo/runtime/go-new.c
+++ b/libgo/runtime/go-new.c
@@ -17,5 +17,5 @@ __go_new (size_t size)
void *
__go_new_nopointers (size_t size)
{
- return runtime_mallocgc (size, RefNoPointers, 1, 1);
+ return runtime_mallocgc (size, FlagNoPointers, 1, 1);
}
OpenPOWER on IntegriCloud