<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <br>
    EM: " When I looked at MicroSqueak one thing I couldn't come up with
    a good answer for was how to deal with nil, true and false while
    simulating MicroSqueak code in the image. One could e.g. modify the
    compiler to generate references to the MicroSqueak nil, true and
    false but then conditional branch opcodes can't be used, so one
    would e.g. have to simulate the bytecode. That shouldn't be too much
    of a problem because there shouldn't be that much code to execute.
    But if e.g. <b>method wrappers</b> could be used that would be
    nicer."<br>
    <span class="Apple-style-span" style="color: rgb(0, 0, 0);
      font-family: Times; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: 2; text-indent: 0px; text-transform: none; white-space:
      normal; widows: 2; word-spacing: 0px; background-color: rgb(255,
      255, 255); font-size: medium;">
      <pre><a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/pipermail/vm-dev/2010-December/006093.html">http://lists.squeakfoundation.org/pipermail/vm-dev/2010-December/006093.html</a>


nil, true, and false are pseudo variables. They are also represented as classes by UndefinedObject, True, and False. These classes are
singletons, so I guess they are also the first three special objects in the special objects array. I don't see any methods to wrap or how. 
Are there CompiledMethods of nil, true, and false somewhere to subclass and thereby wrap?

I'm assuming <a href="http://www.squeaksource.com/MethodWrappers." style="color: rgb(0, 0, 255);"> http://www.squeaksource.com/MethodWrappers</a><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: rgb(255, 255, 255); font-size: medium;"></span> can be used to solve the problem that makes MicroSqueak not work on Cog, which 
seems to be about using method wrappers on the first the special objects.  

Have I confused two different problems? 

Chris 
</pre>
    </span>
  </body>
</html>