Closed
Bug 1860806
Opened 2 years ago
Closed 7 months ago
Skip table bounds check if index is constant and below minimum size of table type
Categories
(Core :: JavaScript: WebAssembly, enhancement, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
DUPLICATE
of bug 1914005
People
(Reporter: rhunt, Unassigned)
References
Details
We could optimize a sequence of:
(table anyref 1)
(table.get (i32.const 0))
So that the table.get skips the bounds check because the index is constant and below the minimum size of the table of 1. Some code in Ion for this [1]. This could be useful if programs are using tables sort of like globals, which I've heard some rumblings of from some wasm-gc users.
| Reporter | ||
Comment 1•7 months ago
|
||
This was fixed by bug 1914005.
You need to log in
before you can comment on or make changes to this bug.
Description
•