Skip to content

ZJIT: Add a wrapper of method call metadata and frame layout #1048

Description

@k0kubun

We support multiple different kinds of call types, and they may place locals in different ways, which require different arithmetics on the number of parameters. They live in different places of the codebase, not unified.

We could have a single struct that wraps the metadata of a caller and a callee, which gives you metadata you need for specializing different method calls or preparing to return from function stubs to the interpreter.

Discussions: ruby#18606 (review), ruby#18606 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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