nit to Bytecode - the av_extend opcode wasn't saved when
authorAdrian M. Enache <enache@rdslink.ro>
Sat, 10 Jan 2004 20:19:09 +0000 (20:19 +0000)
committerEnache Adrian <enache@rdslink.ro>
Sat, 10 Jan 2004 20:19:09 +0000 (20:19 +0000)
the array had AvFILL == 0

p4raw-id: //depot/perl@22107

ext/B/B/Assembler.pm

index dc24d66..fce3753 100644 (file)
@@ -291,7 +291,8 @@ sub assemble {
 sub asm {
     return if $_[0] =~ /\s*\W/;
     if (defined $_[1]) {
-       return if $_[1] eq "0" and $_[0] !~ /^(?:newsvx?|av_pushx?|xav_flags)$/;
+       return if $_[1] eq "0" and
+           $_[0] !~ /^(?:newsvx?|av_pushx?|av_extend|xav_flags)$/;
        return if $_[1] eq "1" and $_[0] =~ /^(?:sv_refcnt)$/;
     }
     assemble "@_";