Skip to content

Commit

Permalink
Map new payload-based exception throwing ops.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 2, 2016
1 parent ac38b5f commit 7a9f8e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vm/moar/QAST/QASTOperationsMAST.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,9 @@ QAST::MASTOperations.add_core_moarop_mapping('backtrace', 'backtrace');
QAST::MASTOperations.add_core_moarop_mapping('throw', 'throwdyn');
QAST::MASTOperations.add_core_moarop_mapping('rethrow', 'rethrow');
QAST::MASTOperations.add_core_moarop_mapping('resume', 'resume');
QAST::MASTOperations.add_core_moarop_mapping('throwpayloadlex', 'throwpayloadlex');
QAST::MASTOperations.add_core_moarop_mapping('throwpayloadlexcaller', 'throwpayloadlexcaller');
QAST::MASTOperations.add_core_moarop_mapping('lastexpayload', 'lastexpayload');

my %handler_names := nqp::hash(
'CATCH', $HandlerCategory::catch,
Expand Down

0 comments on commit 7a9f8e5

Please sign in to comment.