Skip to content

Commit 6fa6d36

Browse files
committed
Map named lexical lookup ops.
1 parent b0e8901 commit 6fa6d36

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/vm/moar/QAST/QASTOperationsMAST.nqp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,6 +1798,14 @@ QAST::MASTOperations.add_core_moarop_mapping('assignunchecked', 'assignunchecked
17981798
QAST::MASTOperations.add_core_moarop_mapping('defined', 'isconcrete');
17991799

18001800
# lexical related opcodes
1801+
QAST::MASTOperations.add_core_moarop_mapping('getlex', 'getlex_no');
1802+
QAST::MASTOperations.add_core_moarop_mapping('getlex_i', 'getlex_ni');
1803+
QAST::MASTOperations.add_core_moarop_mapping('getlex_n', 'getlex_nn');
1804+
QAST::MASTOperations.add_core_moarop_mapping('getlex_s', 'getlex_ns');
1805+
QAST::MASTOperations.add_core_moarop_mapping('bindlex', 'bindlex_no', 1);
1806+
QAST::MASTOperations.add_core_moarop_mapping('bindlex_i', 'bindlex_ni', 1);
1807+
QAST::MASTOperations.add_core_moarop_mapping('bindlex_n', 'bindlex_nn', 1);
1808+
QAST::MASTOperations.add_core_moarop_mapping('bindlex_s', 'bindlex_ns', 1);
18011809
QAST::MASTOperations.add_core_moarop_mapping('getlexdyn', 'getdynlex');
18021810
QAST::MASTOperations.add_core_moarop_mapping('bindlexdyn', 'binddynlex');
18031811
QAST::MASTOperations.add_core_op('locallifetime', -> $qastcomp, $op {

0 commit comments

Comments
 (0)