Skip to content

Commit

Permalink
Toss now-unrequired clone callback legacy code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 9, 2013
1 parent 8654841 commit 6b358a3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/core/NQPRoutine.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ my knowhow NQPRoutine {
nqp::setcodeobj($do, $der);

# If needed, arrange for a fixup of the cloned code-ref.
my $clone_callback := pir::getprop__PPs($!do, 'CLONE_CALLBACK');
if nqp::defined($clone_callback) {
$clone_callback($!do, $do, $der);
}
unless nqp::isnull($!clone_callback) {
$!clone_callback($!do, $do, $der);
}
Expand Down Expand Up @@ -334,10 +330,6 @@ my knowhow NQPRoutine {
nqp::setcodeobj($do, $der);

# If needed, arrange for a fixup of the cloned code-ref.
my $clone_callback := pir::getprop__PPs($!do, 'CLONE_CALLBACK');
if nqp::defined($clone_callback) {
$clone_callback($!do, $do, $der);
}
unless nqp::isnull($!clone_callback) {
$!clone_callback($!do, $do, $der);
}
Expand Down Expand Up @@ -417,10 +409,6 @@ my knowhow NQPRegex {
nqp::setcodeobj($do, $der);

# If needed, arrange for a fixup of the cloned code-ref.
my $clone_callback := pir::getprop__PPs($!do, 'CLONE_CALLBACK');
if nqp::defined($clone_callback) {
$clone_callback($!do, $do, $der);
}
unless nqp::isnull($!clone_callback) {
$!clone_callback($!do, $do, $der);
}
Expand Down

0 comments on commit 6b358a3

Please sign in to comment.