Skip to content

ZJIT: Stop generating JIT entries for ISEQ_TYPE_MAIN/ISEQ_TYPE_EVAL #992

@k0kubun

Description

@k0kubun

We never enter ISEQs whose type is ISEQ_TYPE_MAIN/ISEQ_TYPE_EVAL, so it shouldn't need JIT entries.

Removing them would free us from worrying about what to do for such ISEQs (or checking crate::cruby::iseq_escapes_ep) when dealing with argument locals in JIT entries.

We should also consider renaming either crate::invariants::iseq_escapes_ep or crate::cruby::iseq_escapes_ep to avoid confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions