12017-08-12 Filip Pizlo <fpizlo@apple.com>
2
3 FTL's compileGetTypedArrayByteOffset needs to do caging
4 https://bugs.webkit.org/show_bug.cgi?id=175366
5
6 Reviewed by NOBODY (OOPS!).
7
8 While implementing boxing in the DFG, I noticed that there was some missing boxing in the FTL. This
9 fixes the case in GetTypedArrayByteOffset, and files FIXMEs for more such cases.
10
11 * dfg/DFGSpeculativeJIT.cpp:
12 (JSC::DFG::SpeculativeJIT::compileGetTypedArrayByteOffset):
13 * ftl/FTLLowerDFGToB3.cpp:
14 (JSC::FTL::DFG::LowerDFGToB3::compileGetTypedArrayByteOffset):
15 (JSC::FTL::DFG::LowerDFGToB3::cagedMayBeNull):
16 * runtime/ArrayBuffer.h:
17 * runtime/ArrayBufferView.h:
18 * runtime/JSArrayBufferView.h:
19