Skip to content

Commit bcd5d1f

Browse files
author
Dave Herman
committed
eliminate 1-byte view shift exemption
1 parent 9ec6b92 commit bcd5d1f

File tree

2 files changed

+2
-38
lines changed

2 files changed

+2
-38
lines changed

html/index.html

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
9191
</li><li>added <a href=#float-1><code>float</code></a> support for operators and <code>Math</code> functions
9292
</li><li>added <a href=#float-1><code>float</code></a> to legal result types for <em>ConditionalExpression</em>
9393
</li><li>added variadic <code>Math.min</code> and <code>Math.max</code>
94+
</li><li>eliminated the allowance for 1-byte views to elide their index shift (to future-proof for large heaps)
9495
</li></ul>
9596
</li><li><strong>12 December 2013</strong>
9697
<ul>
@@ -1762,25 +1763,6 @@ <h3 id=heap-accesses><span class=secno>6.9 </span>Heap Accesses</h3>
17621763

17631764
<p>A <em>MemberExpression</em> node
17641765

1765-
</p><div class=example>
1766-
<em>x:Identifier</em><code>[</code><em>expr:Expression</em><code>]</code>
1767-
</div>
1768-
1769-
<p>validates as load type type <a href=#intish-0><code>intish</code></a> and store types
1770-
{ <a href=#intish-0><code>intish</code></a> } if:
1771-
1772-
</p><ul>
1773-
<li><em>Lookup</em>(Δ, Γ, <em>x</em>) = <em>view</em> where <em>view</em> is
1774-
an <a href=https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays/ArrayBufferView><code>ArrayBufferView</code></a>
1775-
type;
1776-
</li><li>the element size of <em>view</em> is 1;
1777-
</li><li>the load type of <em>view</em> is <a href=#intish-0><code>intish</code></a>;
1778-
</li><li>the store types of <em>view</em> are { <a href=#intish-0><code>intish</code></a> };
1779-
</li><li><em>expr</em> validates as type <a href=#int-0><code>int</code></a>.
1780-
</li></ul>
1781-
1782-
<p>A <em>MemberExpression</em> node
1783-
17841766
</p><div class=example>
17851767
<em>x:Identifier</em><code>[</code><em>expr:Expression</em> <code>&gt;&gt;</code> <em>n:</em><code>-</code><span class="meta opt">?</span><em>NumericLiteral</em><code>]</code>
17861768
</div>

html/index.src.html

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ <h3 class="no-num no-toc">Changelog</h2>
9494
<li>added <code>float</code> support for operators and <code>Math</code> functions
9595
<li>added <code>float</code> to legal result types for <em>ConditionalExpression</em>
9696
<li>added variadic <code>Math.min</code> and <code>Math.max</code>
97+
<li>eliminated the allowance for 1-byte views to elide their index shift (to future-proof for large heaps)
9798
</ul>
9899
<li><strong>12 December 2013</strong>
99100
<ul>
@@ -1678,25 +1679,6 @@ <h3>Heap Accesses</h3>
16781679

16791680
<p>A <em>MemberExpression</em> node
16801681

1681-
<div class="example">
1682-
<em>x:Identifier</em><code>[</code><em>expr:Expression</em><code>]</code>
1683-
</div>
1684-
1685-
<p>validates as load type type <code>intish</code> and store types
1686-
{ <code>intish</code> } if:
1687-
1688-
<ul>
1689-
<li><em>Lookup</em>(&Delta;, &Gamma;, <em>x</em>) = <em>view</em> where <em>view</em> is
1690-
an <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays/ArrayBufferView"><code>ArrayBufferView</code></a>
1691-
type;
1692-
<li>the element size of <em>view</em> is 1;
1693-
<li>the load type of <em>view</em> is <code>intish</code>;
1694-
<li>the store types of <em>view</em> are { <code>intish</code> };
1695-
<li><em>expr</em> validates as type <code>int</code>.
1696-
</ul>
1697-
1698-
<p>A <em>MemberExpression</em> node
1699-
17001682
<div class="example">
17011683
<em>x:Identifier</em><code>[</code><em>expr:Expression</em> <code>&gt;&gt;</code> <em>n:</em><code>-</code><span class="meta opt">?</span><em>NumericLiteral</em><code>]</code>
17021684
</div>

0 commit comments

Comments
 (0)