ext/B/B/Xref.pm adding "our" recognition
[p5sagit/p5-mst-13.2.git] / ext / ByteLoader / bytecode.h
index e7ac6c8..5a779aa 100644 (file)
@@ -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: