Skip to content

Commit

Permalink
[js] Enable phasers cloning code on js backend too
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Mar 27, 2018
1 parent 77c462b commit 58f577a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -1726,7 +1726,7 @@ BEGIN {
}
}));
Block.HOW.add_method(Block, '!clone_phasers', nqp::getstaticcode(sub ($self, $cloned, $phasers) {
#?if moar
#?if !jvm
my int $next := nqp::existskey($phasers, 'NEXT');
my int $last := nqp::existskey($phasers, 'LAST');
my int $quit := nqp::existskey($phasers, 'QUIT');
Expand Down Expand Up @@ -3254,7 +3254,7 @@ nqp::sethllconfig('perl6', nqp::hash(
#?if jvm
nqp::decont(nqp::atpos(@leaves,0))();
#?endif
#?if moar
#?if !jvm
nqp::p6capturelexwhere(
nqp::decont(nqp::atpos(@leaves,0)).clone)();
#?endif
Expand Down

0 comments on commit 58f577a

Please sign in to comment.