Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Numerous performance improvements to QAST -> MAST.
Includes a MoarVM revision bump to get MAST::Node improvements.
  • Loading branch information
jnthn committed Jul 27, 2014
1 parent 68ebbd3 commit ed4b9f0
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 114 deletions.
12 changes: 2 additions & 10 deletions src/vm/moar/NQP/Ops.nqp
Expand Up @@ -124,14 +124,6 @@ $ops.add_hll_op('nqp', 'falsey', -> $qastcomp, $op {
}
});

# NQP object unbox, which also must somewhat handle coercion.

# XXX TODO

sub push_op(@dest, $op, *@args) {
#$op := $op.name if nqp::istype($op, QAST::Op);
nqp::push(@dest, MAST::Op.new(
:op($op),
|@args
));
sub push_op(@dest, str $op, *@args) {
nqp::push(@dest, MAST::Op.new_with_operand_array( :$op, @args ));
}

0 comments on commit ed4b9f0

Please sign in to comment.