#212: [patch] Fix count_eh (with test)
------------------------+---------------------------------------------------
Reporter: rg | Type: patch
Status: new | Priority: normal
Milestone: | Component: core
Version: trunk | Severity: medium
Keywords: exceptions | Lang:
Patch: | Platform:
------------------------+---------------------------------------------------
Currently, the count_eh opcode simply segfaults. After fixing the causes
for the segfaults (included with the patch), I had to find out that the
existing exception code now works differently. I therefor modelled a new
Parrot_cx_count_handlers_local after the corresponding delete function.
I think the count_eh opcode would be useful for compiler tests, to see if
any exception handlers were left on the stack without having to throw an
exception.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/212>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets