Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
[Merge chakra-core/ChakraCore@796a580cc0] Fix build [GlobOpt.cpp]
Browse files Browse the repository at this point in the history
  • Loading branch information
chakrabot committed May 22, 2017
1 parent 8f7d131 commit 0e386eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/chakrashim/core/lib/Backend/GlobOpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down Expand Up @@ -16364,6 +16365,7 @@ GlobOpt::OptArraySrc(IR::Instr * *const instrRef)
}
}
}
#endif

if(needsBoundChecks && DoBoundCheckElimination())
{
Expand Down

0 comments on commit 0e386eb

Please sign in to comment.