Skip to content
Permalink
Browse files

[js] Teach the optimizer to use int64/uint64 assign ops for op=

  • Loading branch information...
pmurias committed Oct 23, 2018
1 parent 130cc81 commit 32b7c089feac1b3f7715732ff189022bf594338e
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Perl6/Optimizer.nqp
@@ -2017,7 +2017,9 @@ class Perl6::Optimizer {
)
}

my @native_assign_ops := ['', 'assign_i', 'assign_n', 'assign_s'];
# The _i64 and _u64 are only used on backends that emulate int64/uint64
my @native_assign_ops := ['', 'assign_i', 'assign_n', 'assign_s', 'assign_i64', 'assign_u64'];

method optimize_nameless_call($op) {
return NQPMu
unless nqp::elems($op)

0 comments on commit 32b7c08

Please sign in to comment.
You can’t perform that action at this time.