Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NotJustAnna opened this issue Nov 15, 2021 · 0 comments
Labels
bug Something isn't working component:compiler This issue is related to the Compiler and/or Bytecode. enhancement New feature or request

Comments

@NotJustAnna
Copy link
Owner

NotJustAnna commented Nov 15, 2021

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.

@NotJustAnna NotJustAnna changed the title If possible, 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. Implement a bytecode fixer for indexes which overflow the instructions' max index Nov 15, 2021
@NotJustAnna NotJustAnna changed the title Implement a bytecode fixer for indexes which overflow the instructions' max index Implement a bytecode fixer for indexes which overflow the instructions' max value. Nov 15, 2021
@NotJustAnna NotJustAnna added bug Something isn't working component:compiler This issue is related to the Compiler and/or Bytecode. enhancement New feature or request labels Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:compiler This issue is related to the Compiler and/or Bytecode. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant