Permit garbage collection on any compiler generated memory allocation.

From-SVN: r170760
This commit is contained in:
Ian Lance Taylor 2011-03-07 22:19:50 +00:00
parent c7148991ec
commit d8b878dc29

View File

@ -11,7 +11,7 @@
void *
__go_new (size_t size)
{
return __go_alloc (size);
return runtime_mallocgc (size, 0, 1, 1);
}
void *