summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-07-12 08:44:21 +0000
committerNicholas Clark <nick@ccl4.org>2008-07-12 08:44:21 +0000
commitc568a9d1864be7bd340b9735735b6a68182a27fe (patch)
tree7840e99a20125cc52a350995822a36c7db338288 /sv.h
parent30ec677dd4d12a9c099bac3f654b308d387386e9 (diff)
downloadperl-c568a9d1864be7bd340b9735735b6a68182a27fe.tar.gz
Abolish xfm_lines from struct xpvfm. structs xpvfm and xpvcv are now
identical. p4raw-id: //depot/perl@34134
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sv.h b/sv.h
index d77e2b5632..f6f1c2bdf1 100644
--- a/sv.h
+++ b/sv.h
@@ -421,7 +421,7 @@ union _xnvu {
union _xivu {
IV xivu_iv; /* integer value */
- /* xpvfm: pv offset */
+ /* xpvfm: lines */
UV xivu_uv;
void * xivu_p1;
I32 xivu_i32;
@@ -522,14 +522,12 @@ struct xpvfm {
_XPV_HEAD;
_XPVMG_HEAD;
_XPVCV_COMMON;
- IV xfm_lines;
};
typedef struct {
_XPV_ALLOCATED_HEAD;
_XPVMG_HEAD;
_XPVCV_COMMON;
- IV xfm_lines;
} xpvfm_allocated;
#define _XPVIO_TAIL \
@@ -1317,7 +1315,7 @@ the scalar's value cannot change unless written to.
#endif
-#define FmLINES(sv) ((XPVFM*) SvANY(sv))->xfm_lines
+#define FmLINES(sv) ((XPVFM*) SvANY(sv))->xiv_u.xivu_iv
#define LvTYPE(sv) ((XPVLV*) SvANY(sv))->xlv_type
#define LvTARG(sv) ((XPVLV*) SvANY(sv))->xlv_targ