[Vm-dev] Some protection missing (I guess in COG version)

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Dec 16 22:36:37 UTC 2013


(SmallInteger new: 0) can quickly lead to a VM crash.
This should better be intercepted as a primitive failure.
I know that we cannot protect against all and every mistake, but this one
should be easy.

See
http://stackoverflow.com/questions/20621119/how-to-print-an-integer-to-transcript

I'm thinking of Spur where Character are immediate and where archeo-code
could lead to same kind of crash.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20131216/3b2e0cb9/attachment.htm


More information about the Vm-dev mailing list