Skip to content

check may-leave flag automatically for CM intrinsic trampolines #12397

@dicej

Description

@dicej

The component model async implementation contains a lot of intrinsic functions, each of which currently has hand-written code to check the may-leave flag and trap if it's unset. Instead, we should check this in e.g. ComponentInstance::enter_host_from_wasm so we don't have to do it manually for each intrinsic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasm-proposal:component-modelIssues related to the WebAssembly Component Model proposal

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions