Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Map named lexical lookup ops.
  • Loading branch information
jnthn committed Oct 13, 2013
1 parent b0e8901 commit 6fa6d36
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/vm/moar/QAST/QASTOperationsMAST.nqp
Expand Up @@ -1798,6 +1798,14 @@ QAST::MASTOperations.add_core_moarop_mapping('assignunchecked', 'assignunchecked
QAST::MASTOperations.add_core_moarop_mapping('defined', 'isconcrete');

# lexical related opcodes
QAST::MASTOperations.add_core_moarop_mapping('getlex', 'getlex_no');
QAST::MASTOperations.add_core_moarop_mapping('getlex_i', 'getlex_ni');
QAST::MASTOperations.add_core_moarop_mapping('getlex_n', 'getlex_nn');
QAST::MASTOperations.add_core_moarop_mapping('getlex_s', 'getlex_ns');
QAST::MASTOperations.add_core_moarop_mapping('bindlex', 'bindlex_no', 1);
QAST::MASTOperations.add_core_moarop_mapping('bindlex_i', 'bindlex_ni', 1);
QAST::MASTOperations.add_core_moarop_mapping('bindlex_n', 'bindlex_nn', 1);
QAST::MASTOperations.add_core_moarop_mapping('bindlex_s', 'bindlex_ns', 1);
QAST::MASTOperations.add_core_moarop_mapping('getlexdyn', 'getdynlex');
QAST::MASTOperations.add_core_moarop_mapping('bindlexdyn', 'binddynlex');
QAST::MASTOperations.add_core_op('locallifetime', -> $qastcomp, $op {
Expand Down

0 comments on commit 6fa6d36

Please sign in to comment.