[Vm-dev] [Pharo-dev] About ~= and ~~

Clément Bera bera.clement at gmail.com
Sat Nov 26 10:49:58 UTC 2016


If the send is to a non failing primitive call, there is no suspension
point either. So I don't think it would break programs.

On Sat, Nov 26, 2016 at 11:25 AM, Levente Uzonyi <leves at caesar.elte.hu>
wrote:

>
> Hi Eliot,
>
> On Fri, 25 Nov 2016, Eliot Miranda wrote:
>
> Of the next sixteen most are there only to save space in a method's
>>
> literal frame.  Since the byte code encodes the selector directly there is
> no need to store the selector in the method's literals.  The implementation
> of all but two (three if we add #~~ to replace #blockCopy: as mentioned
> above) of these bytecodes is to fetch the selector from the
> specialSelectors array and do a normal send.
>
> IIRC the byte codes also ensure that there are no suspension points in the
> code. If so, removing them would break programs.
>
> Levente
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20161126/24e5887f/attachment.html>


More information about the Vm-dev mailing list