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

fix compiler producing incorrect LOADNIL byte code #496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tul
Copy link
Contributor

@tul tul commented Jul 26, 2024

Fixes #495

Proposed fix and tests to fix AddLoadNil() optimisation, which was incorrectly merging LOADNIL instructions under certain conditions.

@coveralls
Copy link

Coverage Status

coverage: 89.623%. remained the same
when pulling b720190 on tul:loadnil_fix
into 2348fd0 on yuin:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect code generation for LOADNIL
2 participants