/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/ |
H A D | IndexingType.cpp | 43 IndexingType leastUpperBoundOfIndexingTypeAndType(IndexingType indexingType, SpeculatedType type) argument 46 return indexingType; 47 switch (indexingType) { 52 return (indexingType & ~IndexingShapeMask) | Int32Shape; 54 return (indexingType & ~IndexingShapeMask) | DoubleShape; 55 return (indexingType & ~IndexingShapeMask) | ContiguousShape; 58 return indexingType; 59 return (indexingType & ~IndexingShapeMask) | ContiguousShape; 62 return indexingType; 69 IndexingType leastUpperBoundOfIndexingTypeAndValue(IndexingType indexingType, JSValu argument 74 dumpIndexingType(PrintStream& out, IndexingType indexingType) argument [all...] |
H A D | IndexingHeaderInlines.h | 37 if (LIKELY(!hasArrayStorage(structure->indexingType()))) 45 switch (structure->indexingType()) { 56 ASSERT(!hasIndexedProperties(structure->indexingType()));
|
H A D | IndexingType.h | 99 static inline bool hasIndexedProperties(IndexingType indexingType) argument 101 return (indexingType & IndexingShapeMask) != NoIndexingShape; 109 static inline bool hasUndecided(IndexingType indexingType) argument 111 return (indexingType & IndexingShapeMask) == UndecidedShape; 114 static inline bool hasInt32(IndexingType indexingType) argument 116 return (indexingType & IndexingShapeMask) == Int32Shape; 119 static inline bool hasDouble(IndexingType indexingType) argument 121 return (indexingType & IndexingShapeMask) == DoubleShape; 124 static inline bool hasContiguous(IndexingType indexingType) argument 126 return (indexingType 131 hasFastArrayStorage(IndexingType indexingType) argument 136 hasArrayStorage(IndexingType indexingType) argument 141 shouldUseSlowPut(IndexingType indexingType) argument [all...] |
H A D | JSArray.h | 132 static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype, IndexingType indexingType) argument 134 return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info, indexingType); 161 template<IndexingType indexingType> 164 template<IndexingType indexingType, typename StorageType> 167 template<IndexingType indexingType> 173 template<IndexingType indexingType> 204 if (LIKELY(!hasArrayStorage(structure->indexingType()))) { 206 hasUndecided(structure->indexingType()) 207 || hasInt32(structure->indexingType()) 208 || hasDouble(structure->indexingType()) 213 if (hasDouble(structure->indexingType())) { function [all...] |
H A D | JSArray.cpp | 404 switch (structure()->indexingType()) { 433 if (structure()->indexingType() == ArrayWithDouble) { 455 switch (structure()->indexingType()) { 550 switch (structure()->indexingType()) { 688 if (oldLength != storage->m_numValuesInVector || inSparseIndexingMode() || shouldUseSlowPut(structure()->indexingType())) 741 switch (structure()->indexingType()) { 839 if (length != storage->m_numValuesInVector || storage->inSparseMode() || shouldUseSlowPut(structure()->indexingType())) 876 switch (structure()->indexingType()) { 985 template<IndexingType indexingType> 988 ASSERT(indexingType [all...] |
H A D | ButterflyInlines.h | 58 return create(vm, 0, structure->outOfLineCapacity(), hasIndexingHeader(structure->indexingType()), IndexingHeader(), 0); 91 hasIndexingHeader(structure->indexingType()), 111 ASSERT_UNUSED(oldStructure, hadIndexingHeader == hasIndexingHeader(oldStructure->indexingType())); 124 hasIndexingHeader(oldStructure->indexingType()), 145 bool hasIndexingHeader = JSC::hasIndexingHeader(structure->indexingType()); 154 ASSERT(hasArrayStorage(structure->indexingType())); 173 ASSERT(hasArrayStorage(structure->indexingType()));
|
H A D | JSObject.h | 147 if (!hasIndexedProperties(structure()->indexingType())) 154 if (!hasIndexedProperties(structure()->indexingType())) 194 switch (structure()->indexingType()) { 219 switch (structure()->indexingType()) { 235 switch (structure()->indexingType()) { 282 switch (structure()->indexingType()) { 304 switch (structure()->indexingType()) { 321 switch (structure()->indexingType()) { 372 switch (structure()->indexingType()) { 421 switch (structure()->indexingType()) { [all...] |
H A D | JSGlobalObject.h | 291 Structure* originalArrayStructureForIndexingType(IndexingType indexingType) const 293 ASSERT(indexingType & IsArray); 294 return m_originalArrayStructureForIndexingShape[(indexingType & IndexingShapeMask) >> IndexingShapeShift].get(); 296 Structure* arrayStructureForIndexingTypeDuringAllocation(IndexingType indexingType) const 298 ASSERT(indexingType & IsArray); 299 return m_arrayStructureForIndexingShapeDuringAllocation[(indexingType & IndexingShapeMask) >> IndexingShapeShift].get(); 308 return originalArrayStructureForIndexingType(structure->indexingType() | IsArray) == structure;
|
H A D | JSObject.cpp | 105 bool hasIndexingHeader = JSC::hasIndexingHeader(structure->indexingType()); 132 switch (structure->indexingType()) { 176 bool hasIndexingHeader = JSC::hasIndexingHeader(structure->indexingType()); 191 switch (structure->indexingType()) { 276 switch (thisObject->structure()->indexingType()) { 431 switch (thisObject->structure()->indexingType()) { 574 switch (structure()->indexingType()) { 609 IndexingType oldType = structure()->indexingType(); 658 IndexingType oldType = structure()->indexingType(); 683 ASSERT(hasUndecided(structure()->indexingType())); [all...] |
H A D | Structure.cpp | 154 Structure::Structure(VM& vm, JSGlobalObject* globalObject, JSValue prototype, const TypeInfo& typeInfo, const ClassInfo* classInfo, IndexingType indexingType, unsigned inlineCapacity) argument 162 , m_indexingType(indexingType) 553 IndexingType indexingType = newIndexingType(structure->indexingTypeIncludingHistory(), transitionKind); local 557 Structure* result = globalObject->originalArrayStructureForIndexingType(indexingType); 558 if (result->indexingTypeIncludingHistory() == indexingType) { 567 ASSERT(existingTransition->indexingTypeIncludingHistory() == indexingType); 574 transition->m_indexingType = indexingType; 655 if (object->butterfly() && !this->outOfLineCapacity() && !hasIndexingHeader(this->indexingType()))
|
H A D | StructureInlines.h | 34 inline Structure* Structure::create(VM& vm, JSGlobalObject* globalObject, JSValue prototype, const TypeInfo& typeInfo, const ClassInfo* classInfo, IndexingType indexingType, unsigned inlineCapacity) argument 38 Structure* structure = new (NotNull, allocateCell<Structure>(vm.heap)) Structure(vm, globalObject, prototype, typeInfo, classInfo, indexingType, inlineCapacity);
|
H A D | JSPropertyNameIterator.cpp | 68 if (hasIndexingHeader(o->structure()->indexingType()))
|
H A D | JSGlobalObject.cpp | 368 IndexingType type = object->structure()->indexingType(); 441 return !hasIndexedProperties(m_arrayPrototype->structure()->indexingType()) 443 && !hasIndexedProperties(m_objectPrototype->structure()->indexingType())
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/ |
H A D | ArrayAllocationProfile.cpp | 37 m_currentIndexingType = leastUpperBoundOfIndexingTypes(m_currentIndexingType, m_lastArray->structure()->indexingType());
|
H A D | ByValInfo.h | 57 inline bool isOptimizableIndexingType(IndexingType indexingType) argument 59 switch (indexingType) { 77 return isOptimizableIndexingType(structure->indexingType()) 81 inline JITArrayMode jitArrayModeForIndexingType(IndexingType indexingType) argument 83 switch (indexingType) { 127 if (isOptimizableIndexingType(structure->indexingType())) 128 return jitArrayModeForIndexingType(structure->indexingType());
|
H A D | ArrayAllocationProfile.h | 44 if (m_lastArray && UNLIKELY(m_lastArray->structure()->indexingType() != m_currentIndexingType))
|
H A D | StructureSet.h | 146 mergeArrayModes(result, asArrayModes(m_structures[i]->indexingType()));
|
H A D | ArrayProfile.h | 67 return asArrayModes(structure->indexingType());
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/ |
H A D | DFGAbstractValue.h | 121 m_arrayModes = asArrayModes(structure->indexingType()); 140 m_arrayModes = asArrayModes(structure->indexingType()); 158 m_arrayModes = asArrayModes(structure->indexingType()); 337 && (m_arrayModes & asArrayModes(structure->indexingType()));
|
H A D | DFGArrayMode.cpp | 258 && (value.m_currentKnownStructure.singleton()->indexingType() & IndexingShapeMask) == shape 259 && (value.m_currentKnownStructure.singleton()->indexingType() & IsArray) 266 && (value.m_currentKnownStructure.singleton()->indexingType() & IndexingShapeMask) == shape 267 && (value.m_currentKnownStructure.singleton()->indexingType() & IsArray); 273 && (value.m_currentKnownStructure.singleton()->indexingType() & IndexingShapeMask) == shape; 311 && hasArrayStorage(value.m_currentKnownStructure.singleton()->indexingType()) 312 && (value.m_currentKnownStructure.singleton()->indexingType() & IsArray); 318 && hasArrayStorage(value.m_currentKnownStructure.singleton()->indexingType());
|
H A D | DFGNode.h | 66 IndexingType indexingType; member in struct:JSC::DFG::NewArrayBufferData 565 IndexingType indexingType() function in struct:JSC::DFG::Node 569 return newArrayBufferData()->indexingType; 584 void setIndexingType(IndexingType indexingType) argument 587 m_opInfo = indexingType;
|
H A D | DFGGraph.cpp | 194 out.print(comma, "struct(", RawPointer(node->structureSet()[i]), ": ", IndexingTypeDump(node->structureSet()[i]->indexingType()), ")"); 197 out.print(comma, "struct(", RawPointer(node->structure()), ": ", IndexingTypeDump(node->structure()->indexingType()), ")"); 249 out.print(comma, IndexingTypeDump(node->indexingType()));
|
H A D | DFGSpeculativeJIT64.cpp | 3294 if (!globalObject->isHavingABadTime() && !hasArrayStorage(node->indexingType())) { 3297 Structure* structure = globalObject->arrayStructureForIndexingTypeDuringAllocation(node->indexingType()); 3298 RELEASE_ASSERT(structure->indexingType() == node->indexingType()); 3300 hasUndecided(structure->indexingType()) 3301 || hasInt32(structure->indexingType()) 3302 || hasDouble(structure->indexingType()) 3303 || hasContiguous(structure->indexingType())); 3318 ASSERT(!hasUndecided(structure->indexingType()) || !node->numChildren()); 3322 switch (node->indexingType()) { 3539 IndexingType indexingType = node->indexingType(); local [all...] |
H A D | DFGSpeculativeJIT32_64.cpp | 3386 if (!globalObject->isHavingABadTime() && !hasArrayStorage(node->indexingType())) { 3389 Structure* structure = globalObject->arrayStructureForIndexingTypeDuringAllocation(node->indexingType()); 3390 ASSERT(structure->indexingType() == node->indexingType()); 3392 hasUndecided(structure->indexingType()) 3393 || hasInt32(structure->indexingType()) 3394 || hasDouble(structure->indexingType()) 3395 || hasContiguous(structure->indexingType())); 3410 ASSERT(!hasUndecided(structure->indexingType()) || !node->numChildren()); 3414 switch (node->indexingType()) { 3631 IndexingType indexingType = node->indexingType(); local [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/ |
H A D | HeapStatistics.cpp | 197 if (hasIndexedProperties(object->structure()->indexingType()))
|