Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[js] Implement nqp::callstatic as nqp::call.
  • Loading branch information
pmurias committed Oct 24, 2015
1 parent 5bdb23d commit 4fd2e45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vm/js/QAST/Compiler.nqp
Expand Up @@ -719,6 +719,7 @@ class QAST::OperationsJS {
Chunk.new($T_OBJ, $callee.expr ~ $call ~ $compiled_args.expr ~ ')' , [$callee, $compiled_args], :$node), :$want);
});

%ops<callstatic> := %ops<call>;

add_simple_op('serialize', $T_STR, [$T_OBJ, $T_OBJ], :sideffects);
add_simple_op('scobjcount', $T_INT, [$T_OBJ]);
Expand Down

0 comments on commit 4fd2e45

Please sign in to comment.