Skip to content

Commit

Permalink
CC: remove B::NULLOP from @b::OP::ISA.
Browse files Browse the repository at this point in the history
I see no reference to it. But just in case use it if it exists
5.14.3 prints a warning on such not-existing classes in the ISA
  • Loading branch information
Reini Urban committed Oct 17, 2012
1 parent d618548 commit 3f30e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/B/CC.pm
Expand Up @@ -299,8 +299,9 @@ use B::Stackobj qw(:types :flags);
use B::C::Flags;
# use attributes qw(get reftype);

@B::OP::ISA = qw(B::NULLOP B); # support -Do
@B::OP::ISA = qw(B); # support -Do
@B::LISTOP::ISA = qw(B::BINOP B); # support -Do
push @B::OP::ISA, 'B::NULLOP' if exists $main::B::{'NULLOP'};

# These should probably be elsewhere
# Flags for $op->flags
Expand Down

0 comments on commit 3f30e44

Please sign in to comment.