Bug 1842999 - Part 12: Inline ResizableTypedArray getters in CacheIR. r=jandem
commit69e47b24570b85298c8b267bbc734880dc4bf2cc
authorAndré Bargull <andre.bargull@gmail.com>
Tue, 27 Feb 2024 13:27:47 +0000 (27 13:27 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Tue, 27 Feb 2024 13:27:47 +0000 (27 13:27 +0000)
treec9a457412598dfa7c1cf3b12505e4af04b9ea30b
parenta558912143c9eecd78cbca64760fcad630abf044
Bug 1842999 - Part 12: Inline ResizableTypedArray getters in CacheIR. r=jandem

Support the TypedArray getters for resizable typed arrays in CacheIR.

Differential Revision: https://phabricator.services.mozilla.com/D200651
js/src/jit-test/tests/typedarray/resizable-typedarray-bytelength-with-sab.js [new file with mode: 0644]
js/src/jit-test/tests/typedarray/resizable-typedarray-bytelength.js [new file with mode: 0644]
js/src/jit-test/tests/typedarray/resizable-typedarray-byteoffset-sab.js [new file with mode: 0644]
js/src/jit-test/tests/typedarray/resizable-typedarray-byteoffset.js [new file with mode: 0644]
js/src/jit-test/tests/typedarray/resizable-typedarray-length-with-sab.js [new file with mode: 0644]
js/src/jit-test/tests/typedarray/resizable-typedarray-length.js [new file with mode: 0644]
js/src/jit/CacheIR.cpp
js/src/jit/CacheIRCompiler.cpp
js/src/jit/CacheIROps.yaml
js/src/vm/PortableBaselineInterpret.cpp