Skip to content

Commit

Permalink
remove unused B::OP::safenext - pause indexer problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Sep 8, 2011
1 parent 29e2be5 commit cd02f23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Perl extension optimize

0.05 2011-09-08 rurban
- remove unused B::OP::safenext - pause indexer problem

0.04 2011-09-07 rurban
- remove B::Hooks::EndOfScope::on_scope_end dependency, not needed
- fix threaded (const PV->GV): tests pass now, only some older perls fail.
Expand Down
3 changes: 1 addition & 2 deletions lib/optimize.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use B::Utils qw(walkallops_simple);
use B qw(OPf_KIDS OPf_MOD OPf_PARENS OPf_WANT_SCALAR OPf_STACKED);
use Attribute::Handlers;

our $VERSION = "0.04";
our $VERSION = "0.05";

our $DEBUG = 0;
our %pads;
Expand All @@ -17,7 +17,6 @@ our $stash = '';
our %register;

sub dbgprint { print @_ if $DEBUG; }
sub B::OP::safenext { $_[0]->can('next') ? $_[0]->next : bless { next => 0 }, "B::OP" }

use optimizer "extend-c" => sub {
my $op = shift;
Expand Down

0 comments on commit cd02f23

Please sign in to comment.