Skip to content

[GR-76331] Fix co_lines deduplication and continuity.#926

Merged
graalvmbot merged 1 commit into
masterfrom
mdsouza/GR-76331-graalpy-colines-ranges
Jun 5, 2026
Merged

[GR-76331] Fix co_lines deduplication and continuity.#926
graalvmbot merged 1 commit into
masterfrom
mdsouza/GR-76331-graalpy-colines-ranges

Conversation

@graalvmbot
Copy link
Copy Markdown
Collaborator

This change fixes a bug blocking GR-75854. The deduplication step did not apply to the final entry, so when we give the epilog the same line as the return, co_lines was producing two entries with the same line. I simplified the logic a bit to emit the "previous" entry on line change instead of the "new" entry.

I also made sure the instruction ranges are continuous. Previously, [i, j, X], [j, k, X], [k, l, Y] would produce [i', j', X], [k', l', Y], but now it produces [i', k', X], [k', l', Y].

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 5, 2026
@graalvmbot graalvmbot closed this Jun 5, 2026
@graalvmbot graalvmbot merged commit f69e9bb into master Jun 5, 2026
64 checks passed
@graalvmbot graalvmbot deleted the mdsouza/GR-76331-graalpy-colines-ranges branch June 5, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants