Skip to content

[Wasm RyuJIT] Interpreter Integration #121600

@kg

Description

@kg

Code generated by Wasm RyuJIT needs to cleanly integrate with the interpreter, so that we can have a mix of interpreted and Wasm code on the stack and properly dispatch exceptions across interpreted/Wasm boundaries and perform transitions efficiently.

This has implications for our ABI, how we handle exceptions, and how we track the shadow stack.

Requirements

  • Unwinding and running filters for EH should work correctly even if the stack has a mix of Wasm and interpreted managed code.
  • Transitions into the interpreter should not require a unique function pointer per managed target.

(incomplete - work in progress)

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmWebAssembly architecturearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions