summaryrefslogtreecommitdiff
path: root/ext/Devel-Peek
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-11-12 14:48:52 +0000
committerDavid Mitchell <davem@iabyn.com>2016-11-12 16:15:09 +0000
commita5c7cb08f7954af4accf63bfffaab1bd61f1dd68 (patch)
tree2202d596d03070380f8708b9966805c814a59168 /ext/Devel-Peek
parentb4204fb6f01f49bdf8ebb6d68e0f713a505f069a (diff)
downloadperl-a5c7cb08f7954af4accf63bfffaab1bd61f1dd68.tar.gz
eliminate SVpbm_VALID flag
This flag is set on an SV to indicate that it has PERL_MAGIC_bm (fast Boyer-Moore) magic attached. Instead just directly check whether it has such magic. This frees up the 0x40000000 bit for anything except AVs and HVs
Diffstat (limited to 'ext/Devel-Peek')
-rw-r--r--ext/Devel-Peek/t/Peek.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/Devel-Peek/t/Peek.t b/ext/Devel-Peek/t/Peek.t
index 52f75bfd60..07f651073b 100644
--- a/ext/Devel-Peek/t/Peek.t
+++ b/ext/Devel-Peek/t/Peek.t
@@ -1048,7 +1048,7 @@ unless ($Config{useithreads}) {
do_test('string constant now an FBM', perl,
'SV = PVMG\\($ADDR\\) at $ADDR
REFCNT = 5
- FLAGS = \\($PADMY,SMG,POK,(?:IsCOW,)?READONLY,(?:IsCOW,)?pPOK,VALID\\)
+ FLAGS = \\($PADMY,SMG,POK,(?:IsCOW,)?READONLY,(?:IsCOW,)?pPOK\\)
PV = $ADDR "rule"\\\0
CUR = 4
LEN = \d+
@@ -1068,7 +1068,7 @@ unless ($Config{useithreads}) {
do_test('string constant still an FBM', perl,
'SV = PVMG\\($ADDR\\) at $ADDR
REFCNT = 5
- FLAGS = \\($PADMY,SMG,POK,(?:IsCOW,)?READONLY,(?:IsCOW,)?pPOK,VALID\\)
+ FLAGS = \\($PADMY,SMG,POK,(?:IsCOW,)?READONLY,(?:IsCOW,)?pPOK\\)
PV = $ADDR "rule"\\\0
CUR = 4
LEN = \d+
@@ -1108,7 +1108,7 @@ unless ($Config{useithreads}) {
my $want = 'SV = PVMG\\($ADDR\\) at $ADDR
REFCNT = 6
- FLAGS = \\($PADMY,SMG,POK,(?:IsCOW,)?READONLY,(?:IsCOW,)?pPOK,VALID\\)
+ FLAGS = \\($PADMY,SMG,POK,(?:IsCOW,)?READONLY,(?:IsCOW,)?pPOK\\)
PV = $ADDR "foam"\\\0
CUR = 4
LEN = \d+