[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix issue #472 (#473)

Nicolas Cellier notifications at github.com
Tue Jan 21 17:42:20 UTC 2020


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.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/473

-- Commit Summary --

  * Fix issue #472

-- File Changes --

    M platforms/Cross/plugins/Squeak3D/b3dInit.c (6)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/473.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/473.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/473
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200121/5a519c75/attachment.html>


More information about the Vm-dev mailing list