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 issue #472 #473

Merged
merged 1 commit into from Jan 24, 2020
Merged

Fix issue #472 #473

merged 1 commit into from Jan 24, 2020

Conversation

nicolas-cellier-aka-nice
Copy link
Contributor

when i == j, there is nothing to sort.
If we call this for the first time, there is no stack allocated by INIT(0), but stack is accessed nonetheless thru PUSH(i,j).
The best thing todo IMO is to return early.

when `i == j`, there is nothing to sort.
If we call this for the first time, there is no stack allocated by `INIT(0)`, but stack is accessed nonetheless thru `PUSH(i,j)`.
The best thing todo IMO is to return early.
@eliotmiranda
Copy link
Contributor

eliotmiranda commented Jan 22, 2020 via email

@nicolas-cellier-aka-nice
Copy link
Contributor Author

Hi Eliot,
This is a quick fix with superficial understanding of code.
So just to give a chance to review.

Copy link
Member

@fniephaus fniephaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fniephaus
Copy link
Member

I'm going to merge this as it avoids a crash. If someone doesn't agree with the fix, we can always revert it. But merging it now makes it easier for our users, and especially Stéphane, to try it out.

@fniephaus fniephaus merged commit 6a7f917 into Cog Jan 24, 2020
@fniephaus fniephaus deleted the fix_Squeak3D_Issue472 branch January 24, 2020 16:43
hogoww referenced this pull request in hogoww/opensmalltalk-vm Dec 23, 2021
hogoww referenced this pull request in hogoww/opensmalltalk-vm Dec 23, 2021
hogoww referenced this pull request in hogoww/opensmalltalk-vm Feb 26, 2022
… [ scavengingGCTenuringIf: ] 14 test cases.
hogoww referenced this pull request in hogoww/opensmalltalk-vm Feb 26, 2022
…[ scavengingGCTenuringIf: ] 14/14 test case are EQUIVALENT
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.

None yet

3 participants