Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Map nativecall ops.
Nothing works yet; the next step is to build stuff up in MoarVM to get
towards passing t/nativecall/01-basic.t.
  • Loading branch information
jnthn committed Mar 10, 2014
1 parent e3e35ca commit 8a414b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/vm/moar/QAST/QASTOperationsMAST.nqp
Expand Up @@ -2317,6 +2317,12 @@ QAST::MASTOperations.add_core_moarop_mapping('nfafromstatelist', 'nfafromstateli
QAST::MASTOperations.add_core_moarop_mapping('nfarunproto', 'nfarunproto');
QAST::MASTOperations.add_core_moarop_mapping('nfarunalt', 'nfarunalt', 0);

# native call ops
QAST::MASTOperations.add_core_moarop_mapping('initnativecall', 'no_op');
QAST::MASTOperations.add_core_moarop_mapping('buildnativecall', 'nativecallbuild', 0);
QAST::MASTOperations.add_core_moarop_mapping('nativecall', 'nativecallinvoke');
QAST::MASTOperations.add_core_moarop_mapping('nativecallrefresh', 'nativecallrefresh', 0);

# process related opcodes
QAST::MASTOperations.add_core_moarop_mapping('exit', 'exit', 0);
QAST::MASTOperations.add_core_moarop_mapping('sleep', 'sleep', 0);
Expand Down
2 changes: 1 addition & 1 deletion tools/build/MOAR_REVISION
@@ -1 +1 @@
2014.02-36-ge9b018f
2014.02-49-gad99d7f

0 comments on commit 8a414b7

Please sign in to comment.