Ticket #212 (closed patch: fixed)

Opened 6 years ago

Last modified 6 years ago

[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

count_eh.patch Download (6.0 KB) - added by rg 6 years ago.

Change History

Changed 6 years ago by rg

Changed 6 years ago by NotFound

  • status changed from new to assigned
  • owner set to NotFound

Changed 6 years ago by NotFound

  • patch set to applied

Applied in r36004

Changed 6 years ago by NotFound

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.