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@34c3ab1519] [MERGE #2976 @rajatd] Fix l…
Browse files Browse the repository at this point in the history
…inux builds in 2.0

Merge pull request #2976 from rajatd:fix-linux-build-2.0
  • Loading branch information
chakrabot committed May 22, 2017
1 parent 0e386eb commit 50eba65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deps/chakrashim/core/lib/Runtime/Library/JavascriptArray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5253,7 +5253,8 @@ namespace Js

if (hasInlineSegment)
{
SparseArraySegment<T>* headSeg = (SparseArraySegment<T>*)array->head;
SparseArraySegmentBase* headSegBase = array->head;
SparseArraySegment<T>* headSeg = (SparseArraySegment<T>*)headSegBase;

AnalysisAssert(headSeg);
SparseArraySegment<T>* newHeadSeg = SparseArraySegment<T>::template AllocateSegmentImpl<false>(recycler,
Expand Down

0 comments on commit 50eba65

Please sign in to comment.