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 reading nil from long and double fields, and update core-lib #214

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

smarr
Copy link
Member

@smarr smarr commented Aug 21, 2024

This PR fixes the reading of fields that are not yet set, but have been seen to eventually be double or long primitive values.
The implementation in the storage location would need to throw an UnexpectedResultException for nil values, which did not lead to a respecialization, but just a transfer to interpreter.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
This fixes an invalidatation loop triggered by fields which are read but still nil.

- use branch profile for the unset case

Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr merged commit 54f8adc into SOM-st:master Aug 21, 2024
2 checks passed
@smarr smarr deleted the fix-reading-nil-from-long-double-fields branch August 21, 2024 16:44
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