summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorJim Cromie <jcromie@cpan.org>2006-01-30 21:52:06 -0700
committerNicholas Clark <nick@ccl4.org>2006-02-04 12:28:03 +0000
commit5e258f8c4f5a59546ce9582992331280e7f0c2e3 (patch)
treef6b894d651b4140be06aeddc7e1d331b1c39c9ca /hv.c
parent78db725db76314f0edb7f2ab8770841118d8ad2e (diff)
downloadperl-5e258f8c4f5a59546ce9582992331280e7f0c2e3.tar.gz
[patch] arena rework - arena sets
Message-ID: <43DF4F66.4080808@gmail.com> Date: Tue, 31 Jan 2006 04:52:06 -0700 p4raw-id: //depot/perl@27079
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index 3f6daf7661..bec2ddb13d 100644
--- a/hv.c
+++ b/hv.c
@@ -42,7 +42,8 @@ S_more_he(pTHX)
dVAR;
HE* he;
HE* heend;
- Newx(he, PERL_ARENA_SIZE/sizeof(HE), HE);
+
+ he = (HE*) Perl_get_arena(aTHX_ PERL_ARENA_SIZE);
HeNEXT(he) = (HE*) PL_body_arenas;
PL_body_arenas = he;