Skip to content

Commit

Permalink
Avoid a bit of string boxing in compile_mastop
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Nov 3, 2018
1 parent 5064b2b commit 25d8625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/moar/QAST/QASTOperationsMAST.nqp
Expand Up @@ -107,7 +107,7 @@ class QAST::MASTOperations {
my @core_operands_counts := MAST::Ops.WHO<@counts>;
my @core_operands_values := MAST::Ops.WHO<@values>;
my %core_op_codes := MAST::Ops.WHO<%codes>;
method compile_mastop($qastcomp, $op, @args, @deconts, :$returnarg = -1, :$want) {
method compile_mastop($qastcomp, str $op, @args, @deconts, :$returnarg = -1, :$want) {
# Resolve as either core op or ext op.
my int $num_operands;
my int $operands_offset;
Expand Down

0 comments on commit 25d8625

Please sign in to comment.