Skip to content

Commit c64c70f

Browse files
committed
Map socket ops for Moar; get Moar with sockets.
Or at least, client sockets.
1 parent 15869c8 commit c64c70f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/vm/moar/QAST/QASTOperationsMAST.nqp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,11 @@ QAST::MASTOperations.add_core_op('getcfh', -> $qastcomp, $op {
17441744
});
17451745
QAST::MASTOperations.add_core_moarop_mapping('eoffh', 'eof_fh');
17461746
QAST::MASTOperations.add_core_moarop_mapping('closefh', 'close_fh', 0);
1747+
QAST::MASTOperations.add_core_moarop_mapping('socket', 'socket');
1748+
QAST::MASTOperations.add_core_moarop_mapping('connect', 'connect_sk', 0);
1749+
QAST::MASTOperations.add_core_moarop_mapping('bindsock', 'bind_sk', 0);
1750+
QAST::MASTOperations.add_core_moarop_mapping('accept', 'accept_sk');
1751+
QAST::MASTOperations.add_core_moarop_mapping('readcharsfh', 'read_fhs');
17471752

17481753
QAST::MASTOperations.add_core_moarop_mapping('chmod', 'chmod_f', 0);
17491754
QAST::MASTOperations.add_core_moarop_mapping('unlink', 'delete_f', 0);

tools/build/MOAR_REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2014.01-136-g4b1c237
1+
2014.01-175-gc4adaa1

0 commit comments

Comments
 (0)