diff options
Diffstat (limited to 'Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp')
-rw-r--r-- | Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp b/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp index 905b5bd3c..4a008e083 100644 --- a/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp +++ b/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp @@ -26,7 +26,7 @@ #include "config.h" #include "ArrayAllocationProfile.h" -#include "JSCInlines.h" +#include "Operations.h" namespace JSC { @@ -49,7 +49,7 @@ void ArrayAllocationProfile::updateIndexingType() JSArray* lastArray = m_lastArray; if (!lastArray) return; - m_currentIndexingType = leastUpperBoundOfIndexingTypes(m_currentIndexingType, lastArray->indexingType()); + m_currentIndexingType = leastUpperBoundOfIndexingTypes(m_currentIndexingType, lastArray->structure()->indexingType()); m_lastArray = 0; } |