diff --git a/lib/Backend/GlobOpt.cpp b/lib/Backend/GlobOpt.cpp index 024455c09fa..f641ce2026b 100644 --- a/lib/Backend/GlobOpt.cpp +++ b/lib/Backend/GlobOpt.cpp @@ -16321,6 +16321,7 @@ GlobOpt::OptArraySrc(IR::Instr * *const instrRef) Value *headSegmentLengthValue = nullptr; IntConstantBounds headSegmentLengthConstantBounds; +#if ENABLE_FAST_ARRAYBUFFER if (baseValueType.IsLikelyOptimizedVirtualTypedArray() && !Js::IsSimd128LoadStore(instr->m_opcode) /*Always extract bounds for SIMD */) { if (isProfilableStElem || @@ -16364,6 +16365,7 @@ GlobOpt::OptArraySrc(IR::Instr * *const instrRef) } } } +#endif if(needsBoundChecks && DoBoundCheckElimination()) {