Ticket #2008 (closed patch: wontfix)
[PCT] Patch/feature request: No pop_eh in try PAST::Op
Reported by: | arnsholt | Owned by: | pmichaud |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | PCT | Version: | 3.0.0 |
Severity: | medium | Keywords: | |
Cc: | cotto, benabik | Language: | |
Patch status: | Platform: |
Description
For my HLL I needed a different layout of the pop_eh instructions in my exception handler code. The simplest way to achieve this was to suppress PAST::Compiler from outputting those and supplying my own.
The attached patch implements this by adding a nopopeh attribute to PAST::Op and code in PAST::Compiler that skips the pop_eh instructions when the attribute has a true value.
Rakudo HEAD spectest with the patch applied has the same failures as without (fails tests 184-186 in S05-mass/properties-derived.rakudo, 20 in S12-enums/basic.rakudo, 2-3 in S19-command-line/dash-e.t) on my machine.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.