diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-31 19:46:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-31 19:46:14 +0000 |
commit | 2431d1a8b08d9439dfd88cbfe40fc021749b2412 (patch) | |
tree | de7a7b4fce3d6e339fa5c3b5b1bf95cfda8dfbfe /ext/ByteLoader | |
parent | 6f14f0894bac4d44067b4f4dfec13e183cb176e6 (diff) | |
download | perl-2431d1a8b08d9439dfd88cbfe40fc021749b2412.tar.gz |
(retracted by #20390)
p4raw-id: //depot/perl@20385
Diffstat (limited to 'ext/ByteLoader')
-rw-r--r-- | ext/ByteLoader/bytecode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/ByteLoader/bytecode.h b/ext/ByteLoader/bytecode.h index bd62b2848c..8ef6d383ee 100644 --- a/ext/ByteLoader/bytecode.h +++ b/ext/ByteLoader/bytecode.h @@ -172,10 +172,8 @@ typedef char *pvindex; #define BSET_newsv(sv, arg) \ STMT_START { \ - sv = (arg == SVt_PVAV ? (SV*)newAV() : \ - arg == SVt_PVHV ? (SV*)newHV() : \ - NEWSV(666,0)); \ - SvUPGRADE(sv, arg); \ + sv = NEWSV(0,0)); \ + SvUPGRADE(sv, (arg)); \ } STMT_END #define BSET_newsvx(sv, arg) STMT_START { \ BSET_newsv(sv, arg & SVTYPEMASK); \ |