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

Levente Uzonyi leves at caesar.elte.hu
Sat Nov 26 10:25:11 UTC 2016

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.


More information about the Vm-dev mailing list