Skip to content

Commit 95eb73c

Browse files
committed
Map the new nativecallinvokejit OP
nativecallbuild now has a return value indicating whether we were able to JIT compile code for the call site
1 parent 79e6453 commit 95eb73c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vm/moar/QAST/QASTOperationsMAST.nqp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2782,8 +2782,9 @@ QAST::MASTOperations.add_core_moarop_mapping('nfarunalt', 'nfarunalt', 0);
27822782

27832783
# native call ops
27842784
QAST::MASTOperations.add_core_moarop_mapping('initnativecall', 'no_op');
2785-
QAST::MASTOperations.add_core_moarop_mapping('buildnativecall', 'nativecallbuild', 0);
2785+
QAST::MASTOperations.add_core_moarop_mapping('buildnativecall', 'nativecallbuild');
27862786
QAST::MASTOperations.add_core_moarop_mapping('nativecallinvoke', 'nativecallinvoke');
2787+
QAST::MASTOperations.add_core_moarop_mapping('nativecallinvokejit', 'nativecallinvokejit');
27872788
QAST::MASTOperations.add_core_op('nativecall', -> $qastcomp, $op {
27882789
proto decont_all(@args) {
27892790
my int $i := 0;

0 commit comments

Comments
 (0)