Skip to content

Commit

Permalink
A few more missing nqp:: ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 21, 2012
1 parent 818b756 commit e688001
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/QAST/Operations.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,8 @@ QAST::Operations.add_core_op('newexception', -> $qastcomp, $op {
});
QAST::Operations.add_core_pirop_mapping('die_s', 'die', '0s');
QAST::Operations.add_core_pirop_mapping('die', 'die', '0P');
QAST::Operations.add_core_pirop_mapping('throw', 'throw', '0P');
QAST::Operations.add_core_pirop_mapping('rethrow', 'rethrow', '0P');

# NQP box/unbox.
for <i n s> {
Expand Down Expand Up @@ -1293,3 +1295,7 @@ QAST::Operations.add_core_pirop_mapping('defined', 'defined', 'IP');
QAST::Operations.add_core_pirop_mapping('sha1', 'nqp_sha1', 'Ss');
QAST::Operations.add_core_pirop_mapping('createsc', 'nqp_create_sc', 'Ps');
QAST::Operations.add_core_pirop_mapping('deserialize', 'nqp_deserialize_sc', 'vsPPP');

# process related opcodes
QAST::Operations.add_core_pirop_mapping('exit', 'exit', 'vi');
QAST::Operations.add_core_pirop_mapping('sleep', 'sleep', 'vn');

0 comments on commit e688001

Please sign in to comment.