Bug 1842773 - Part 19: Add guard instruction for fixed-length typed arrays. r=sfink...
commitec23e0690698e909d35ce0cc1a07613db2f84538
authorAndré Bargull <andre.bargull@gmail.com>
Fri, 26 Jan 2024 08:17:40 +0000 (26 08:17 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Fri, 26 Jan 2024 08:17:40 +0000 (26 08:17 +0000)
tree76ce5780d9c75a2902f55bfc415477d9857282c8
parent9a1f9746dcc66a804b00d5798ca44bf93e420df1
Bug 1842773 - Part 19: Add guard instruction for fixed-length typed arrays. r=sfink,jandem

Part 14 only disallowed attaching resizable typed arrays in CacheIR, but we
still need to guard the object is also a fixed-length typed array at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D183335
js/src/jit/CacheIR.cpp
js/src/jit/CacheIRCompiler.cpp
js/src/jit/CacheIROps.yaml
js/src/jit/CodeGenerator.cpp
js/src/jit/LIROps.yaml
js/src/jit/Lowering.cpp
js/src/jit/MIROps.yaml
js/src/jit/MacroAssembler.cpp
js/src/jit/MacroAssembler.h
js/src/jit/WarpCacheIRTranspiler.cpp
js/src/vm/PortableBaselineInterpret.cpp