Bug 1842773 - Part 19: Add guard instruction for fixed-length typed arrays. r=sfink...
commitf647f4c1c65fc06f3fd8f3836c17c4e63cb26339
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 29 Jan 2024 10:44:27 +0000 (29 10:44 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Mon, 29 Jan 2024 10:44:27 +0000 (29 10:44 +0000)
tree0aaab444eb4e2c5ab07de9c47797d334cd25d649
parentcc3fd3a8624307b75cd3b2f27f5f6e184bbe53f3
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