Skip to content

Put the location immediately after FORPREP.#148

Merged
ltratt merged 1 commit into
ykjit:mainfrom
ltratt:move_location
Apr 7, 2026
Merged

Put the location immediately after FORPREP.#148
ltratt merged 1 commit into
ykjit:mainfrom
ltratt:move_location

Conversation

@ltratt
Copy link
Copy Markdown
Contributor

@ltratt ltratt commented Apr 7, 2026

With the slight rejig in the Lua VM, this is as likely (or as unlikely!) to form a loop as putting things at FORLOOP, but means we don't have to go through one iteration of the interpreter to get to the jump to machine code.

With the slight rejig in the Lua VM, this is as likely (or as unlikely!)
to form a loop as putting things at `FORLOOP`, but means we don't have
to go through one iteration of the interpreter to get to the jump to
machine code.
@ltratt ltratt enabled auto-merge April 7, 2026 20:28
@ltratt ltratt added this pull request to the merge queue Apr 7, 2026
Merged via the queue into ykjit:main with commit 8aeb28f Apr 7, 2026
2 checks passed
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.

1 participant