Skip to content

Compiled method drop last property#13386

Merged
MarcusDenker merged 3 commits intopharo-project:Pharo12from
privat:compiled-method-drop-last-property
Apr 11, 2023
Merged

Compiled method drop last property#13386
MarcusDenker merged 3 commits intopharo-project:Pharo12from
privat:compiled-method-drop-last-property

Conversation

@privat
Copy link
Contributor

@privat privat commented Apr 10, 2023

As mentioned by #13359 (comment) compiled method can keep an empty additional state.
This is inefficient, but worse could be considered a bug because hasProperties did remain true even if the last property is removed.

This PR fixes that, and add tests

@MarcusDenker MarcusDenker merged commit 12ede70 into pharo-project:Pharo12 Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants