diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-07-17 16:17:58 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-07-17 17:39:46 +0100 |
commit | b6f609162799aa49813b53c8242464db37fcee9b (patch) | |
tree | ff78dab5934ab802fe26af0ee59e0fe5b859dc76 /regexp.h | |
parent | c533d96e5f6c9e94d3d34f6ff54accc877705220 (diff) | |
download | perl-b6f609162799aa49813b53c8242464db37fcee9b.tar.gz |
Eliminate struct regexp_allocated and xpvio_allocated.
Calculate memory allocation using regexp and XPVIO, and the offset of the first
real structure member. This avoids tripping over alignment differences between
X* and x*_allocated, because x*_allocated doesn't have a double in it.
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -107,12 +107,6 @@ typedef struct regexp { _REGEXP_COMMON; } regexp; -struct regexp_allocated { - _XPV_ALLOCATED_HEAD; - _XPVMG_HEAD; - _REGEXP_COMMON; -}; - /* HV *paren_names; Optional hash of paren names now stored in the IV union */ |