Skip to content

Commit

Permalink
[js] Share a #?if with the jvm backend
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Oct 6, 2018
1 parent 3cc3574 commit 92c504b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -2848,10 +2848,7 @@ BEGIN {
# If we're at a single candidate here, and we also know there's no
# type constraints that follow, we can cache the result.
sub add_to_cache($entry) {
#?if jvm
return 0 if nqp::capturehasnameds($capture);
#?endif
#?if js
#?if !moar
return 0 if nqp::capturehasnameds($capture);
#?endif
nqp::scwbdisable();
Expand Down

0 comments on commit 92c504b

Please sign in to comment.