Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Proposed spec changes + rethrow question #125

@aheejin

Description

@aheejin

I did a presentation on why we need some spec changes to be extensible to future two-phase unwinding on 8/18 CG meeting: slides

I pre-uploaded slides on the spec changes I am planning to propose in the next week's 9/15 CG meeting: slides

This is basically the same as what I discussed in #123. The changes consist of:

  • Restore the first version of the proposal
  • Add catch_br instruction
  • Add try-unwind instruction

If you have any feedback or comments, I'd appreciate them.

Also, I'm not sure if we still want the immediate argument of rethrow in the first version of the proposal. rethrow used to have an immediate argument that specifies which exception in the current EH pad stack to rethrow. I don't have a use case for this in C++, but other languages might need it, so if people have any opinions on keep this or not, I'd appreciate that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions