<div dir="ltr">On 6 January 2013 20:15, Chris Muller <span dir="ltr"><<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">> Hint: in Pharo 1.4 sending #class is not magic any more and it can be<br>
> overriden, so proxies and write-barriers can be even more transparent.<br>
<br>
</div>That's great I'd love to get rid of #maOriginalClass. Do you know how<br>
the "magic" was removed?<br></blockquote><div><br></div><div style><br></div><div style>Object>>class<br></div><div><span class="" style="white-space:pre">        </span>"Primitive. Answer the object which is the receiver's class. Essential. See </div>
<div><span class="" style="white-space:pre">        </span>Object documentation whatIsAPrimitive."</div><div><br></div><div><span class="" style="white-space:pre">        </span><primitive: 111></div><div><span class="" style="white-space:pre">        </span>self primitiveFailed </div>
</div><br><br>So the magic is still there, it's just that #class is not inlined by the VM any more and can be overriden. Which is great.<br><br clear="all"><div><br></div>-- <br>Milan Mimica<br><a href="http://sparklet.sf.net">http://sparklet.sf.net</a>
</div></div>