<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-05-19 14:22 GMT+02:00  <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Patrick Rein uploaded a new version of Kernel to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Kernel-pre.1105.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/<wbr>trunk/Kernel-pre.1105.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Kernel-pre.1105<br>
Author: pre<br>
Time: 19 May 2017, 2:22:29.00196 pm<br>
UUID: 7e22498c-7586-584c-a2a9-<wbr>81331c572590<br>
Ancestors: Kernel-pre.1104<br>
<br>
Removes a redundancy in CompiledCode.<br>
<br>
=============== Diff against Kernel-nice.1103 ===============<br>
<br>
Item was changed:<br>
  ----- Method: CompiledCode class>>headerFlagForEncoder: (in category 'method encoding') -----<br>
  headerFlagForEncoder: anEncoder<br>
-       anEncoder class == PrimaryBytecodeSetEncoderClass ifTrue:<br>
-               [^0].<br>
-       anEncoder class == SecondaryBytecodeSetEncoderCla<wbr>ss ifTrue:<br>
-               [^SmallInteger minVal].<br>
        "This allows subclasses for compiler variants such as the ScriptEncoder in EToys<br>
         to continue to function."<br>
+       (anEncoder isKindOf: PrimaryBytecodeSetEncoderClass<wbr>) ifTrue:<br>
-       (anEncoder class inheritsFrom: PrimaryBytecodeSetEncoderClass<wbr>) ifTrue:<br>
                [^0].<br>
+       (anEncoder isKindOf: SecondaryBytecodeSetEncoderCla<wbr>ss) ifTrue:<br>
-       (anEncoder class inheritsFrom: SecondaryBytecodeSetEncoderCla<wbr>ss) ifTrue:<br>
                [^SmallInteger minVal].<br>
        self error: 'The encoder is not one of the two installed bytecode sets'!<br>
<br></blockquote><div>Then why not send a message back to anEncoder?<br></div><div>Way more efficient than testing classes sequentially and recursively...<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Item was added:<br>
+ ----- Method: Number>>** (in category 'mathematical functions') -----<br>
+ ** aNumber<br>
+<br>
+       ^ self raisedTo: aNumber!<br>
<br></blockquote><div>Above change can't both be waiting in inbox and be commited to trunk <br></div></div><br></div></div>