Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a couple of missing ops.
  • Loading branch information
jnthn committed Jul 21, 2012
1 parent 74c1e10 commit 212b72c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/QAST/Operations.nqp
Expand Up @@ -1143,6 +1143,7 @@ QAST::Operations.add_core_pirop_mapping('bitand_s', 'bands', 'SS');
# string opcodes
QAST::Operations.add_core_pirop_mapping('chars', 'length', 'Is');
QAST::Operations.add_core_pirop_mapping('concat', 'concat', 'Sss');
QAST::Operations.add_core_pirop_mapping('concat_s', 'concat', 'Sss');
QAST::Operations.add_core_pirop_mapping('join', 'join', 'SsP');
QAST::Operations.add_core_pirop_mapping('split', 'split', 'Pss');
QAST::Operations.add_core_pirop_mapping('index', 'index', 'Issi');
Expand Down Expand Up @@ -1286,6 +1287,7 @@ QAST::Operations.add_core_pirop_mapping('how', 'get_how', 'PP');
QAST::Operations.add_core_pirop_mapping('who', 'get_who', 'PP');
QAST::Operations.add_core_pirop_mapping('where', 'get_id', 'IP');
QAST::Operations.add_core_pirop_mapping('findmethod', 'find_method', 'PPs');
QAST::Operations.add_core_pirop_mapping('defined', 'defined', 'IP');

# serialization context related opcodes
QAST::Operations.add_core_pirop_mapping('sha1', 'nqp_sha1', 'Ss');
Expand Down

0 comments on commit 212b72c

Please sign in to comment.