[Vm-dev] Primitive to set an identityHash

Mariano Martinez Peck marianopeck at gmail.com
Tue Jan 17 22:02:29 UTC 2012


On Tue, Jan 17, 2012 at 8:04 PM, Eliot Miranda <eliot.miranda at gmail.com>wrote:

>
>
>
> On Tue, Jan 17, 2012 at 8:43 AM, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
>
>>
>> Hi guys. Becuase of some work I am doing with proxies, I would like to be
>> able to set a specific identityHash to a proxy instance. I can add this
>> primitive in my VM, but I was thinking if this could be of a general
>> interest also?
>>
>
> It already exists.  See primitiveSetIdentityHash in InterpreterPrimitives.
>  Primitive # 161.
>

Thank you so much Eliot. You even save my time of coding it ;)  I should
have checked before...I always forget about InterpreterPrimitives hahaha
So...Pharaoers... do you want the image side of the primitive and some
tests?  I can provide that if desired (in my opinion I would include it)

Cheers





>
>
>> Cheers
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>>
>
>
> --
> best,
> Eliot
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120117/9a00b8c2/attachment.htm


More information about the Vm-dev mailing list