summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-08-20 10:44:40 +0100
committerNicholas Clark <nick@ccl4.org>2010-08-20 17:34:39 +0100
commiteaeb1e7f3008ef8680fd7726bb124dac46e2f98c (patch)
tree9b805784c60e86b2f2a90cfef1a6880c70a9116d /sv.c
parent7526101e3b4b792395b41754651bdbbea6b8cf55 (diff)
downloadperl-eaeb1e7f3008ef8680fd7726bb124dac46e2f98c.tar.gz
Correct the size calculations for FIT_ARENA for SVt_REGEXP.
This should have been done as part of commit 601dfd0af0604fa7. Its omission did not cause bugs; it merely resulted in slightly less effective arena sizing.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 4918449222..77bb1b504a 100644
--- a/sv.c
+++ b/sv.c
@@ -948,7 +948,7 @@ static const struct body_details bodies_by_type[] = {
sizeof(regexp),
0,
SVt_REGEXP, FALSE, NONV, HASARENA,
- FIT_ARENA(0, sizeof(regexp) - STRUCT_OFFSET(regexp, xpv_cur))
+ FIT_ARENA(0, sizeof(regexp))
},
/* 48 */