diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2016-12-15 14:32:39 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2016-12-15 14:32:39 +0000 |
commit | ffdff4a12c348019789be9437db6053060c6fd70 (patch) | |
tree | b2442fbe629f1a94529326424d5d9ab7042a70b6 /cpan | |
parent | 00614f1b218d4346c49a54c35a0e746bcc61ca99 (diff) | |
download | perl-ffdff4a12c348019789be9437db6053060c6fd70.tar.gz |
Update B-Debug to CPAN version 1.24
[DELTA]
1.24 2016-12-11 rurban
* add 5.25.6 support: split optimization
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/B-Debug/Debug.pm | 2 | ||||
-rw-r--r-- | cpan/B-Debug/t/debug.t | 13 |
2 files changed, 6 insertions, 9 deletions
diff --git a/cpan/B-Debug/Debug.pm b/cpan/B-Debug/Debug.pm index fd66405bac..e295635d35 100644 --- a/cpan/B-Debug/Debug.pm +++ b/cpan/B-Debug/Debug.pm @@ -1,6 +1,6 @@ package B::Debug; -our $VERSION = '1.23'; +our $VERSION = '1.24'; use strict; require 5.006; diff --git a/cpan/B-Debug/t/debug.t b/cpan/B-Debug/t/debug.t index 0c79adbc24..0f60b95a5b 100644 --- a/cpan/B-Debug/t/debug.t +++ b/cpan/B-Debug/t/debug.t @@ -56,30 +56,27 @@ my $is_thread = $Config{use5005threads} && $Config{use5005threads} eq 'define'; if ($is_thread) { $b=<<EOF; leave enter nextstate label leaveloop enterloop null and defined null -threadsv readline gv lineseq nextstate aassign null pushmark split +threadsv readline gv lineseq nextstate aassign null pushmark split pushre threadsv const null pushmark rvav gv nextstate subst const unstack EOF } elsif ($] >= 5.021005) { $b=<<EOF; leave enter nextstate label leaveloop enterloop null and defined null null -gvsv readline gv lineseq nextstate split null +gvsv readline gv lineseq nextstate split pushre null gvsv const nextstate subst const unstack EOF } else { $b=<<EOF; leave enter nextstate label leaveloop enterloop null and defined null null -gvsv readline gv lineseq nextstate aassign null pushmark split null +gvsv readline gv lineseq nextstate aassign null pushmark split pushre null gvsv const null pushmark rvav gv nextstate subst const unstack EOF } -#$b .= " nextstate" if $] < 5.008001; # ?? $b=~s/\n/ /g; $b=~s/\s+/ /g; $b =~ s/\s+$//; +$b =~ s/split pushre/split/ if $] >= 5.025006; -TODO: { - local $TODO = '5.21.5 split optimization' if $] == 5.021005; - is($a, $b); -} +is($a, $b); like(B::Debug::_printop(B::main_root), qr/LISTOP\s+\[OP_LEAVE\]/); like(B::Debug::_printop(B::main_start), qr/OP\s+\[OP_ENTER\]/); |