summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
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;
}