From: Ian Lance Taylor Date: Mon, 7 Mar 2011 22:19:50 +0000 (+0000) Subject: Permit garbage collection on any compiler generated memory allocation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8b878dc29c0c037c0fb269c5bce1ed2d1547ff9;p=gcc.git Permit garbage collection on any compiler generated memory allocation. From-SVN: r170760 --- diff --git a/libgo/runtime/go-new.c b/libgo/runtime/go-new.c index e673d14fc95..a592174e50f 100644 --- a/libgo/runtime/go-new.c +++ b/libgo/runtime/go-new.c @@ -11,7 +11,7 @@ void * __go_new (size_t size) { - return __go_alloc (size); + return runtime_mallocgc (size, 0, 1, 1); } void *