projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Patch from Enache for the crashing of bytecode.t in Tru64.
[p5sagit/p5-mst-13.2.git]
/
ext
/
B
/
B
/
Bytecode.pm
diff --git
a/ext/B/B/Bytecode.pm
b/ext/B/B/Bytecode.pm
index
826ae5b
..
8580885
100644
(file)
--- a/
ext/B/B/Bytecode.pm
+++ b/
ext/B/B/Bytecode.pm
@@
-358,7
+358,7
@@
sub B::AV::bsave {
nice "-AV-",
asm "ldsv", $varix = $ix unless $ix == $varix;
- asm "av_extend", $av->MAX;
+ asm "av_extend", $av->MAX if $av->MAX >= 0;
asm "av_pushx", $_ for @array;
asm "sv_refcnt", $av->REFCNT;
asm "xav_flags", $av->AvFLAGS;