diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-19 17:36:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-19 17:36:10 +0000 |
commit | 0a8483324f34cd58f59c599320471525e95a2de3 (patch) | |
tree | 0e1a9c47e5e35d38e5b83c85dedf2eb5abd39b35 /hv.c | |
parent | 39244528574f0425e97af023e283eee5572107b8 (diff) | |
download | perl-0a8483324f34cd58f59c599320471525e95a2de3.tar.gz |
Add a parameter to Perl_get_arena() to pass in the SV type, and record
this in the arena description. Change all sizes to unsigned values.
Make Perl_sv_free_arenas() loop downwards to free memory, simplifying
the logic. Remove my erroneous comment added in change 29881.
p4raw-id: //depot/perl@29882
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ S_more_he(pTHX) HE* he; HE* heend; - he = (HE*) Perl_get_arena(aTHX_ PERL_ARENA_SIZE); + he = (HE*) Perl_get_arena(aTHX_ PERL_ARENA_SIZE, HE_SVSLOT); heend = &he[PERL_ARENA_SIZE / sizeof(HE) - 1]; PL_body_roots[HE_SVSLOT] = he; |