<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 11:40 PM,  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Eliot Miranda uploaded a new version of BytecodeSets to project VM Maker:<br>
<a href="http://source.squeak.org/VMMaker/BytecodeSets.spur-eem.54.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/VMMaker/BytecodeSets.spur-eem.54.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: BytecodeSets.spur-eem.54<br>
Author: eem<br>
Time: 15 June 2016, 2:39:35.207556 pm<br>
UUID: ff813806-d8f8-473b-bacc-b0bc62f10c40<br>
Ancestors: BytecodeSets.spur-cb.53<br>
<br>
In Squeak the compiler checks for exceeding the number of available literals at compile time.  So encoders must implement maxIndexableLiterals.  The default form the Blue Book bytecode set is only 63.  EncoderForV3 answers 256.  Both NewspeakV4 and SistaV1 should answer 65536.<br></blockquote><div><br></div><div>In SistaV1 there&#39;s a bit to mark if the method has counters or not. So 32.000. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=============== Diff against BytecodeSets.spur-cb.53 ===============<br>
<br>
Item was added:<br>
+ ----- Method: EncoderForNewsqueakV4&gt;&gt;maxIndexableLiterals (in category &#39;accessing&#39;) -----<br>
+ maxIndexableLiterals<br>
+       &quot;Answer the maximum number of literals supported by the receiver&#39;s<br>
+        bytecode set.&quot;<br>
+       ^65536!<br>
<br>
Item was added:<br>
+ ----- Method: EncoderForSistaV1&gt;&gt;maxIndexableLiterals (in category &#39;accessing&#39;) -----<br>
+ maxIndexableLiterals<br>
+       &quot;Answer the maximum number of literals supported by the receiver&#39;s<br>
+        bytecode set.&quot;<br>
+       ^65536!<br>
<br>
</blockquote></div><br></div></div>