projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f14f08
)
(retracted by #20390)
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 31 Jul 2003 19:46:14 +0000
(19:46 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 31 Jul 2003 19:46:14 +0000
(19:46 +0000)
p4raw-id: //depot/perl@20385
ext/ByteLoader/bytecode.h
patch
|
blob
|
history
diff --git
a/ext/ByteLoader/bytecode.h
b/ext/ByteLoader/bytecode.h
index
bd62b28
..
8ef6d38
100644
(file)
--- 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); \