Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FROGGS/b4afc20535fb35164d78 to your computer and use it in GitHub Desktop.
Save FROGGS/b4afc20535fb35164d78 to your computer and use it in GitHub Desktop.
~/dev/MoarVM$ perl6 -e 'use nqp; say (-> { 21; nqp::setcodename(nqp::getattr(nqp::decont(&?BLOCK), Code, "\$!do"), nqp::unbox_s("flubber")); &?BLOCK.leave(42) })()'
Block.leave(...) 0x7efe81094690
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x2f41230 == f->code_ref=0x1d96fc8 == code_object=0x23965b0)
leave_label handler_can_handle 'leave' 0
leave_label (cat & category_mask=2048 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x16304c0 == f->code_ref=0x10ed608 == code_object=(nil))
leave_label handler_can_handle 'command_eval' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x3022f60 == f->code_ref=0x7efe80ec7e90 == code_object=0x7efe80ec7df8)
leave_label handler_can_handle '<anon>' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x2f41230 == f->code_ref=0x1d96fc8 == code_object=0x23965b0)
leave_label handler_can_handle 'leave' 0
leave_label (cat & category_mask=2048 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x16304c0 == f->code_ref=0x10ed608 == code_object=(nil))
leave_label handler_can_handle 'command_eval' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x16304c0 == f->code_ref=0x10ed608 == code_object=(nil))
leave_label handler_can_handle 'command_eval' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x16304c0 == f->code_ref=0x10ed608 == code_object=(nil))
leave_label handler_can_handle 'command_eval' 0
leave_label (cat & category_mask=2048 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x1630040 == f->code_ref=0x10ed5c0 == code_object=(nil))
leave_label handler_can_handle 'command_line' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x1630040 == f->code_ref=0x10ed5c0 == code_object=(nil))
leave_label handler_can_handle 'command_line' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x1630040 == f->code_ref=0x10ed5c0 == code_object=(nil))
leave_label handler_can_handle 'command_line' 0
leave_label (cat & category_mask=0 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x1630040 == f->code_ref=0x10ed5c0 == code_object=(nil))
leave_label handler_can_handle 'command_line' 0
leave_label (cat & category_mask=2048 == cat=6144) block_has_label=0
leave_label (thrown_label=0x7efe81094690 == block_label=(nil) == f=0x162ff20 == f->code_ref=0x7efe80e6cc98 == code_object=(nil))
leave_label handler_can_handle 'MAIN' 0
No exception handler located for leave_label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment