Skip to content

Commit cd02f23

Browse files
author
Reini Urban
committed
remove unused B::OP::safenext - pause indexer problem
1 parent 29e2be5 commit cd02f23

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for Perl extension optimize
22

3+
0.05 2011-09-08 rurban
4+
- remove unused B::OP::safenext - pause indexer problem
5+
36
0.04 2011-09-07 rurban
47
- remove B::Hooks::EndOfScope::on_scope_end dependency, not needed
58
- fix threaded (const PV->GV): tests pass now, only some older perls fail.

lib/optimize.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use B::Utils qw(walkallops_simple);
77
use B qw(OPf_KIDS OPf_MOD OPf_PARENS OPf_WANT_SCALAR OPf_STACKED);
88
use Attribute::Handlers;
99

10-
our $VERSION = "0.04";
10+
our $VERSION = "0.05";
1111

1212
our $DEBUG = 0;
1313
our %pads;
@@ -17,7 +17,6 @@ our $stash = '';
1717
our %register;
1818

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

2221
use optimizer "extend-c" => sub {
2322
my $op = shift;

0 commit comments

Comments
 (0)