Skip to content

Implement a bytecode fixer for indexes which overflow the instructions' max value. #22

@NotJustAnna

Description

@NotJustAnna

Implement a trySwap mechanism which when, on a edge "exceeded index" case, tries to find and swap a constant over the 2^16 index with one under the 2^16 index which is only used by instructions which have 24-bit sized indexes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent:compilerThis issue is related to the Compiler and/or Bytecode.enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions