Skip to content

[GR-81389] Remove null local stores. - #1322

Merged
graalvmbot merged 2 commits into
masterfrom
mdsouza/GR-81389-remove-null-local-stores
Nov 18, 2026
Merged

graalvmbot merged 2 commits into
masterfrom
mdsouza/GR-81389-remove-null-local-stores

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

In GR-81389 the Bytecode DSL is disallowing storing null values into locals to resolve some frame inspection ambiguities. This change fixes the few places GraalPy can potentially store null, by either avoiding it or introducing a null singleton marker.

… exception state in the bytecode interpreter.

This replaces null with the singleton when the result may be stored in a bytecode local, which avoids storing null into "current exception" locals.
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 18, 2026
@graalvmbot
graalvmbot merged commit be59055 into master Nov 18, 2026
12 of 17 checks passed
@graalvmbot
graalvmbot deleted the mdsouza/GR-81389-remove-null-local-stores branch November 18, 2026 17:49
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