#define OP_type(o) o->op_type
#if PERL_VERSION >= 9
# define OP_opt(o) o->op_opt
-# define OP_static(o) o->op_static
#else
# define OP_seq(o) o->op_seq
#endif
OP_opt(o)
B::OP o
-U8
-OP_static(o)
- B::OP o
-
#else
U16
use Exporter (); # use #5
-our $VERSION = "0.71";
+our $VERSION = "0.72";
our @ISA = qw(Exporter);
our @EXPORT_OK = qw( set_style set_style_standard add_callback
concise_subref concise_cv concise_main
$h{seq} = "" if $h{seq} eq "-";
if ($] > 5.009) {
$h{opt} = $op->opt;
- $h{static} = $op->static;
$h{label} = $labels{$$op};
} else {
$h{seqnum} = $op->seq;
Only available in 5.9 and later.
-=item B<#static>
-
-Whether or not the op is statically defined. This flag is used by the
-B::C compiler backend and indicates that the op should not be freed.
-
-Only available in 5.9 and later.
-
=item B<#sibaddr>
The address of the OP's next youngest sibling, in hexadecimal.
package B::Debug;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
use strict;
use B qw(peekop class walkoptree walkoptree_exec
op_type %d
EOT
if ($] > 5.009) {
- printf <<'EOT', $op->opt, $op->static;
+ printf <<'EOT', $op->opt;
op_opt %d
- op_static %d
EOT
} else {
printf <<'EOT', $op->seq;
* op_type The type of the operation.
* op_opt Whether or not the op has been optimised by the
* peephole optimiser.
- * op_static Whether or not the op is statically defined.
- * This flag is used by the B::C compiler backend
- * and indicates that the op should not be freed.
*
* See the comments in S_clear_yystack() for more
* details on the following three flags:
-
+ *
* op_latefree tell op_free() to clear this op (and free any kids)
* but not yet deallocate the struct. This means that
* the op may be safely op_free()d multiple times
* op_latefreed an op_latefree op has been op_free()d
* op_attached this op (sub)tree has been attached to a CV
*
- * op_spare two spare bits!
+ * op_spare three spare bits!
* op_flags Flags common to all operations. See OPf_* below.
* op_private Flags peculiar to a particular operation (BUT,
* by default, set to the number of children until
PADOFFSET op_targ; \
unsigned op_type:9; \
unsigned op_opt:1; \
- unsigned op_static:1; \
unsigned op_latefree:1; \
unsigned op_latefreed:1; \
unsigned op_attached:1; \
- unsigned op_spare:2; \
+ unsigned op_spare:3; \
U8 op_flags; \
U8 op_private;
#endif