summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-19 17:36:10 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-19 17:36:10 +0000
commit0a8483324f34cd58f59c599320471525e95a2de3 (patch)
tree0e1a9c47e5e35d38e5b83c85dedf2eb5abd39b35 /hv.c
parent39244528574f0425e97af023e283eee5572107b8 (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index bc1e305fdf..b7f53a9d91 100644
--- a/hv.c
+++ b/hv.c
@@ -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;