Skip to content

ZJIT: Reduce cost of PushInlineFrame #1008

Description

@tekknolagi

Currently, we:

  • Check for stack overflow (lea, cmp, jbe)
  • Save PC
  • Save SP
  • Save all locals
  • Save all stack
  • Push a frame
    • Write CME
    • Write specval
    • Write ENV_FLAGS
    • Write block code
    • Maybe write SP, JIT_RETURN
    • Write self
    • Write EP
  • Write JITFrame
  • Write JIT_RETURN
  • Write SP
  • Write CFP

We need to cut most of this.

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