Skip to content

Commit

Permalink
Fix build [GlobOpt.cpp]
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatd committed May 15, 2017
1 parent 73d6109 commit 796a580
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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 796a580

Please sign in to comment.