]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/IndexingHeaderInlines.h
JavaScriptCore-7600.1.4.17.5.tar.gz
[apple/javascriptcore.git] / runtime / IndexingHeaderInlines.h
index cfad1c8c2b64c39cd623448a09ad827a09171afd..b188741c3f4c568965c3da77a9f3e904af2c86c0 100644 (file)
@@ -34,7 +34,7 @@ namespace JSC {
 
 inline size_t IndexingHeader::preCapacity(Structure* structure)
 {
-    if (LIKELY(!hasArrayStorage(structure->indexingType())))
+    if (LIKELY(!hasAnyArrayStorage(structure->indexingType())))
         return 0;
     
     return arrayStorage()->m_indexBias;