Skip to content

pass all OCaml args via Wasm params if possible #43

@gerdstolpmann

Description

@gerdstolpmann

This is only advantageous when a function is called directly, and when tail calls are available.

We need to generate two wasm functions:

  • one that complies to the usual conventions where the args are passed on the stack
  • one that expects all args in Wasm params

The former function would do grab and restart, and call the other function.

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