X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FByteLoader%2Fbytecode.h;h=5a779aa0df89d9cad303a8c3063ba0b488335484;hb=8e011b7da72d2334d6a86247cbfa607bb6897514;hp=e7ac6c8efd0129d892543da16d7b5e384b21cc06;hpb=8bfdd7d95bcb290ba639e2c88c5d4370ab8fcfc0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/ByteLoader/bytecode.h b/ext/ByteLoader/bytecode.h index e7ac6c8..5a779aa 100644 --- a/ext/ByteLoader/bytecode.h +++ b/ext/ByteLoader/bytecode.h @@ -72,6 +72,14 @@ typedef IV IV64; } \ } STMT_END +#if IVSIZE == 4 +# define BGET_IV(arg) BGET_I32(arg) +#else +# if IVSIZE == 8 +# define BGET_IV(arg) BGET_IV64(arg) +# endif +#endif + #define BGET_op_tr_array(arg) do { \ unsigned short *ary; \ New(666, ary, 256, unsigned short); \ @@ -205,7 +213,7 @@ typedef IV IV64; bset_obj_store(aTHX_ bstate, obj, (I32)ix) : (bstate->bs_obj_list[ix] = obj) /* NOTE: the bytecode header only sanity-checks the bytecode. If a script cares about - * what version of Perl it's being called under, it should do a 'require 5.6.0' or + * what version of Perl it's being called under, it should do a 'use 5.006_001' or * equivalent. However, since the header includes checks requiring an exact match in * ByteLoader versions (we can't guarantee forward compatibility), you don't * need to specify one: