projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c714899
)
Permit garbage collection on any compiler generated memory allocation.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 7 Mar 2011 22:19:50 +0000
(22:19 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 7 Mar 2011 22:19:50 +0000
(22:19 +0000)
From-SVN: r170760
libgo/runtime/go-new.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/go-new.c
b/libgo/runtime/go-new.c
index e673d14fc95f8da7cee327f42ffa6a2ea7547f65..a592174e50f891088700b63b54edff0e1c0c26f6 100644
(file)
--- 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 *