#2008: [PCT] Patch/feature request: No pop_eh in try PAST::Op
----------------------+-----------------------------------------------------
Reporter: arnsholt | Owner: pmichaud
Type: patch | Status: new
Priority: normal | Milestone:
Component: PCT | Version: 3.0.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/2008>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets