diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-16 06:54:42 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-07-16 06:54:42 +0000 |
commit | f4ca453c9530ff24478cae090c9979b97fdd7411 (patch) | |
tree | 0e8fda573576bb4181dba29d0e88380a8c38fafd /libgo/runtime/mcache.c | |
parent | 84a4a7d4b2fecf754bc0b7fce55b05912a054ef4 (diff) | |
download | ppe42-gcc-f4ca453c9530ff24478cae090c9979b97fdd7411.tar.gz ppe42-gcc-f4ca453c9530ff24478cae090c9979b97fdd7411.zip |
libgo: Update to Go 1.1.1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200974 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/mcache.c')
-rw-r--r-- | libgo/runtime/mcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/mcache.c b/libgo/runtime/mcache.c index 570c06a731b..45bac4ffbce 100644 --- a/libgo/runtime/mcache.c +++ b/libgo/runtime/mcache.c @@ -21,7 +21,7 @@ runtime_MCache_Alloc(MCache *c, int32 sizeclass, uintptr size, int32 zeroed) l = &c->list[sizeclass]; if(l->list == nil) { // Replenish using central lists. - n = runtime_MCentral_AllocList(&runtime_mheap.central[sizeclass], + n = runtime_MCentral_AllocList(&runtime_mheap->central[sizeclass], runtime_class_to_transfercount[sizeclass], &first); if(n == 0) runtime_throw("out of memory"); @@ -69,7 +69,7 @@ ReleaseN(MCache *c, MCacheList *l, int32 n, int32 sizeclass) c->size -= n*runtime_class_to_size[sizeclass]; // Return them to central free list. - runtime_MCentral_FreeList(&runtime_mheap.central[sizeclass], n, first); + runtime_MCentral_FreeList(&runtime_mheap->central[sizeclass], n, first); } void |