Ticket #212 (closed patch: fixed)
[patch] Fix count_eh (with test)
Reported by: | rg | Owned by: | NotFound |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | trunk |
Severity: | medium | Keywords: | exceptions |
Cc: | Language: | ||
Patch status: | applied | Platform: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.