You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>control must reach the module's <code>return</code> statement without throwing;
1829
1830
</li><li>the <em>heap</em> object (if provided) must be an instance of <ahref=https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays/ArrayBuffer><code>ArrayBuffer</code></a>;
1830
-
</li><li>the <em>heap</em> object's <code>byteLength</code> must be a multiple of 4096;
1831
-
</li><li>the <em>heap</em> object's <code>byteLength</code> must be a power of 2;
1832
-
</li><li>the <em>heap</em> object's <code>byteLength</code> must be no greater than 2<sup>31</sup> (assuming the engine even allows <code>ArrayBuffer</code>s that large);
1831
+
</li><li>the <em>heap</em> object's <code>byteLength</code> must be either 2<sup><em>n</em></sup> for <em>n</em> in [12, 24) or 2<sup>24</sup> · <em>n</em> for <em>n</em> ≥ 1;
1832
+
<!--
1833
+
<li>the <em>heap</em> object's <code>byteLength</code> must be a multiple of 4096;
1834
+
<li>the <em>heap</em> object's <code>byteLength</code> must be a power of 2;
1835
+
<li>the <em>heap</em> object's <code>byteLength</code> must be no greater than 2<sup>31</sup> (assuming the engine even allows <code>ArrayBuffer</code>s that large);
1836
+
-->
1833
1837
</li><li>all view objects must be true instances of their
<li>added <code>float</code> to legal result types for <em>ConditionalExpression</em>
96
96
<li>added variadic <code>Math.min</code> and <code>Math.max</code>
97
97
<li>eliminated the allowance for 1-byte views to elide their index shift (to future-proof for large heaps)
98
+
<li>simplified and generalized link-time restrcitions on heap size
98
99
</ul>
99
100
<li><strong>12 December 2013</strong>
100
101
<ul>
@@ -1743,9 +1744,12 @@ <h2>Linking</h2>
1743
1744
<ul>
1744
1745
<li>control must reach the module's <code>return</code> statement without throwing;
1745
1746
<li>the <em>heap</em> object (if provided) must be an instance of <ahref="https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays/ArrayBuffer"><code>ArrayBuffer</code></a>;
1747
+
<li>the <em>heap</em> object's <code>byteLength</code> must be either 2<sup><em>n</em></sup> for <em>n</em> in [12, 24) or 2<sup>24</sup> · <em>n</em> for <em>n</em> ≥ 1;
1748
+
<!--
1746
1749
<li>the <em>heap</em> object's <code>byteLength</code> must be a multiple of 4096;
1747
1750
<li>the <em>heap</em> object's <code>byteLength</code> must be a power of 2;
1748
1751
<li>the <em>heap</em> object's <code>byteLength</code> must be no greater than 2<sup>31</sup> (assuming the engine even allows <code>ArrayBuffer</code>s that large);
1752
+
-->
1749
1753
<li>all view objects must be true instances of their
0 commit comments