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

refactor(codegen): code relocation for code length greater than 0xff #276

Merged
merged 8 commits into from
Nov 20, 2024

Conversation

clearloop
Copy link
Member

@clearloop clearloop commented Nov 16, 2024

Resolves #273
Resolves #247
Resolves #268

Changes

  • grow jump targets on targets pc gt 0xff
  • detect pushN from the byte length of target PC
  • handle offset relocation for pc greater than 0xff

@clearloop clearloop changed the title feat(codegen): adapt code relocation for code length greater than 0xff refactor(codegen): code relocation for code length greater than 0xff Nov 20, 2024
@clearloop clearloop merged commit 5adc31d into main Nov 20, 2024
4 checks passed
@clearloop clearloop deleted the cl/issue-273 branch November 20, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant