From: Rafael Garcia-Suarez Date: Wed, 30 Nov 2005 12:30:47 +0000 (+0000) Subject: Fix B::Concise tests after change #26226 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0b599ae526552f509f1358eaeec80cf8049ddcf2;p=p5sagit%2Fp5-mst-13.2.git Fix B::Concise tests after change #26226 p4raw-link: @26226 on //depot/perl: 7c8a3dfd3bf64e6ea427f38183b879af54fe8f18 p4raw-id: //depot/perl@26227 --- diff --git a/ext/B/t/optree_varinit.t b/ext/B/t/optree_varinit.t index 8748f29..844b6df 100644 --- a/ext/B/t/optree_varinit.t +++ b/ext/B/t/optree_varinit.t @@ -131,15 +131,19 @@ checkOptree ( name => 'sub {my $a=undef}', code => sub {my $a=undef}, bcopts => '-basic', expect => <<'EOT_EOT', expect_nt => <<'EONT_EONT'); -3 <1> leavesub[1 ref] K/REFC,1 ->(end) -- <@> lineseq KP ->3 -1 <;> nextstate(main 24 optree.t:99) v ->2 -2 <0> padsv[$a:24,25] sRM*/LVINTRO ->3 +5 <1> leavesub[1 ref] K/REFC,1 ->(end) +- <@> lineseq KP ->5 +1 <;> nextstate(main 641 optree_varinit.t:130) v ->2 +4 <2> sassign sKS/2 ->5 +2 <0> undef s ->3 +3 <0> padsv[$a:641,642] sRM*/LVINTRO ->4 EOT_EOT -# 3 <1> leavesub[1 ref] K/REFC,1 ->(end) -# - <@> lineseq KP ->3 -# 1 <;> nextstate(main 54 optree.t:149) v ->2 -# 2 <0> padsv[$a:54,55] sRM*/LVINTRO ->3 +# 5 <1> leavesub[1 ref] K/REFC,1 ->(end) +# - <@> lineseq KP ->5 +# 1 <;> nextstate(main 641 optree_varinit.t:130) v ->2 +# 4 <2> sassign sKS/2 ->5 +# 2 <0> undef s ->3 +# 3 <0> padsv[$a:641,642] sRM*/LVINTRO ->4 EONT_EONT checkOptree ( name => 'sub {our $a=undef}', @@ -190,15 +194,19 @@ checkOptree ( name => 'my $a=undef', prog => 'my $a=undef', bcopts => '-basic', expect => <<'EOT_EOT', expect_nt => <<'EONT_EONT'); -4 <@> leave[1 ref] vKP/REFC ->(end) +6 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v ->3 -3 <0> padsv[$a:1,2] vRM*/LVINTRO ->4 +5 <2> sassign vKS/2 ->6 +3 <0> undef s ->4 +4 <0> padsv[$a:1,2] sRM*/LVINTRO ->5 EOT_EOT -# 4 <@> leave[1 ref] vKP/REFC ->(end) +# 6 <@> leave[1 ref] vKP/REFC ->(end) # 1 <0> enter ->2 # 2 <;> nextstate(main 1 -e:1) v ->3 -# 3 <0> padsv[$a:1,2] vRM*/LVINTRO ->4 +# 5 <2> sassign vKS/2 ->6 +# 3 <0> undef s ->4 +# 4 <0> padsv[$a:1,2] sRM*/LVINTRO ->5 EONT_EONT checkOptree ( name => 'our $a=undef',