summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-05-24 08:28:08 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-05-24 08:28:08 +0000
commita4e969f4965059196ca948db781e52f7cfebf19e (patch)
tree6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h
parent41386e9cb918eed93b3f13648cbef387e371e451 (diff)
downloadWebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz
webkitgtk-2.12.3webkitgtk-2.12.3
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 f77b92a2f..f03763f70 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->structure()->indexingType() != m_currentIndexingType))
+ if (lastArray && UNLIKELY(lastArray->indexingType() != m_currentIndexingType))
updateIndexingType();
return m_currentIndexingType;
}