summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h')
-rw-r--r--Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h b/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
index f03763f70..f77b92a2f 100644
--- a/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
+++ b/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
@@ -42,7 +42,7 @@ public:
IndexingType selectIndexingType()
{
JSArray* lastArray = m_lastArray;
- if (lastArray && UNLIKELY(lastArray->indexingType() != m_currentIndexingType))
+ if (lastArray && UNLIKELY(lastArray->structure()->indexingType() != m_currentIndexingType))
updateIndexingType();
return m_currentIndexingType;
}