summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-07-04 18:55:11 -0600
committerKarl Williamson <public@khwilliamson.com>2013-07-04 19:06:35 -0600
commit49cf1d6641a6dfd301302f616e4f25595dcc65d4 (patch)
treed1b2c3c6a1fe60ddd4c8298bd986045f213baf99 /sv.h
parent1e3f3188c877f8581aeccab7f8ec866b7a978b8b (diff)
downloadperl-49cf1d6641a6dfd301302f616e4f25595dcc65d4.tar.gz
Revert "Create SVt_INVLIST"
This reverts commit e045dbedc7da04e20cc8cfccec8a2e3ccc62cc8b. Blead won't compile with address sanitizer; commit 7cb47964955167736b2923b008cc8023a9b035e8 reverting an earlier commit failed to fix that. I'm trying two more reversions to get it back working. This is one of those
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/sv.h b/sv.h
index 475da61b7b..0c1ded6a13 100644
--- a/sv.h
+++ b/sv.h
@@ -29,7 +29,6 @@ The types are:
SVt_PVIV
SVt_PVNV
SVt_PVMG
- SVt_INVLIST
SVt_REGEXP
SVt_PVGV
SVt_PVLV
@@ -57,8 +56,7 @@ typeglob has been assigned. Assigning to it again will stop it from being
a typeglob. SVt_PVLV represents a scalar that delegates to another scalar
behind the scenes. It is used, e.g., for the return value of C<substr> and
for tied hash and array elements. It can hold any scalar value, including
-a typeglob. SVt_REGEXP is for regular expressions. SVt_INVLIST is for Perl
-core internal use only.
+a typeglob. SVt_REGEXP is for regular expressions.
SVt_PVMG represents a "normal" scalar (not a typeglob, regular expression,
or delegate). Since most scalars do not need all the internal fields of a
@@ -92,9 +90,6 @@ Type flag for scalars. See L</svtype>.
=for apidoc AmU||SVt_PVMG
Type flag for scalars. See L</svtype>.
-=for apidoc AmU||SVt_INVLIST
-Type flag for scalars. See L</svtype>.
-
=for apidoc AmU||SVt_REGEXP
Type flag for regular expressions. See L</svtype>.
@@ -124,12 +119,11 @@ Type flag for I/O objects. See L</svtype>.
typedef enum {
SVt_NULL, /* 0 */
- /* BIND was here, before INVLIST replaced it. */
- SVt_IV, /* 1 */
- SVt_NV, /* 2 */
+ SVt_DUMMY, /* 1 */
+ SVt_IV, /* 2 */
+ SVt_NV, /* 3 */
/* RV was here, before it was merged with IV. */
- SVt_PV, /* 3 */
- SVt_INVLIST, /* 4, implemented as a PV */
+ SVt_PV, /* 4 */
SVt_PVIV, /* 5 */
SVt_PVNV, /* 6 */
SVt_PVMG, /* 7 */
@@ -146,9 +140,7 @@ typedef enum {
} svtype;
/* *** any alterations to the SV types above need to be reflected in
- * SVt_MASK and the various PL_valid_types_* tables. As of this writing those
- * tables are in perl.h. There are also two affected names tables in dump.c,
- * one in B.xs, and 'bodies_by_type[]' in sv.c */
+ * SVt_MASK and the various PL_valid_types_* tables */
#define SVt_MASK 0xf /* smallest bitmask that covers all types */