From 796a580cc0f8222d173b60a6c3c94eed71bed735 Mon Sep 17 00:00:00 2001 From: Rajat Dua Date: Mon, 15 May 2017 16:34:41 -0700 Subject: [PATCH] Fix build [GlobOpt.cpp] --- lib/Backend/GlobOpt.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()) {