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.

is opcode of catch being 0x00? #294

@trcrsired

Description

@trcrsired

actch | 0x00 | tag : varuint32, label : varuint32
catch_ref | 0x01 | tag : varuint32, label : varuint32
catch_all | 0x02 | label : varuint32
catch_all_ref | 0x03 | label : varuint32

https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
It looks quite weird why the opcode of catch is 0x00. How does that work?

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