Skip to content

lower: track innermost continuable statement start and emit jumps to it on continue - #85

Merged
Franklin-Qi merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#76-Lowerer-track-innermost-continuable-statement-start
Jul 22, 2026
Merged

lower: track innermost continuable statement start and emit jumps to it on continue#85
Franklin-Qi merged 1 commit into
uutils:mainfrom
Franklin-Qi:feature-task#76-Lowerer-track-innermost-continuable-statement-start

Conversation

@Franklin-Qi

Copy link
Copy Markdown
Collaborator

Track and restore continue_label on CodeGen so continue emits a jump to the while/do condition or for update, per gawk.

Closes: #76

@Alonely0
Alonely0 force-pushed the feature-task#76-Lowerer-track-innermost-continuable-statement-start branch from 7a8ec78 to c0e5c2e Compare July 18, 2026 01:47
@Alonely0

Copy link
Copy Markdown
Collaborator

Rebased it :)

Some changes conflicted a bit poorly with the continue PR, let me know if I handled the composability of both helpers okay.

@Alonely0
Alonely0 force-pushed the main branch 2 times, most recently from 3cf396b to 048fe2a Compare July 18, 2026 07:28
@Alonely0

Copy link
Copy Markdown
Collaborator

@Franklin-Qi if you think it's good you can rebase & merge it yourself :)

@Franklin-Qi

Copy link
Copy Markdown
Collaborator Author

@Franklin-Qi if you think it's good you can rebase & merge it yourself :)

@Alonely0 Yeah, Thanks for your review. I'll deal with it today.

…it on continue

Track and restore continue_label on CodeGen so continue emits a jump to
the while/do condition or for update, per gawk.

Closes: uutils#76
@Franklin-Qi
Franklin-Qi force-pushed the feature-task#76-Lowerer-track-innermost-continuable-statement-start branch from c0e5c2e to 5a91cc1 Compare July 22, 2026 06:44
@Franklin-Qi
Franklin-Qi merged commit 58c1497 into uutils:main Jul 22, 2026
15 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.

lowerer: track innermost continuable statement start and emit jumps to it on continue

2 participants