diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-31 20:22:03 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-31 20:22:03 +0000 |
commit | 1d22e8bc9ebf27719af3f2b3ce4e27ba05dcf85a (patch) | |
tree | e974d9f0bda09c5e7d558a091accd5cb2ddf42e4 /ext/ByteLoader | |
parent | c6ef9389991a02ccb3c8b66ed39e18cfbd747a43 (diff) | |
download | perl-1d22e8bc9ebf27719af3f2b3ce4e27ba05dcf85a.tar.gz |
Enache again.
p4raw-id: //depot/perl@20392
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..165e67ab42 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); \ |