Skip to content

Commit

Permalink
Map socket ops for Moar; get Moar with sockets.
Browse files Browse the repository at this point in the history
Or at least, client sockets.
  • Loading branch information
jnthn committed Feb 15, 2014
1 parent 15869c8 commit c64c70f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/vm/moar/QAST/QASTOperationsMAST.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,11 @@ QAST::MASTOperations.add_core_op('getcfh', -> $qastcomp, $op {
});
QAST::MASTOperations.add_core_moarop_mapping('eoffh', 'eof_fh');
QAST::MASTOperations.add_core_moarop_mapping('closefh', 'close_fh', 0);
QAST::MASTOperations.add_core_moarop_mapping('socket', 'socket');
QAST::MASTOperations.add_core_moarop_mapping('connect', 'connect_sk', 0);
QAST::MASTOperations.add_core_moarop_mapping('bindsock', 'bind_sk', 0);
QAST::MASTOperations.add_core_moarop_mapping('accept', 'accept_sk');
QAST::MASTOperations.add_core_moarop_mapping('readcharsfh', 'read_fhs');

QAST::MASTOperations.add_core_moarop_mapping('chmod', 'chmod_f', 0);
QAST::MASTOperations.add_core_moarop_mapping('unlink', 'delete_f', 0);
Expand Down
2 changes: 1 addition & 1 deletion tools/build/MOAR_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2014.01-136-g4b1c237
2014.01-175-gc4adaa1

0 comments on commit c64c70f

Please sign in to comment.