Commit d8b878dc by Ian Lance Taylor

Permit garbage collection on any compiler generated memory allocation.

From-SVN: r170760
parent c7148991
......@@ -11,7 +11,7 @@
void *
__go_new (size_t size)
{
return __go_alloc (size);
return runtime_mallocgc (size, 0, 1, 1);
}
void *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment