Searched refs:structure (Results 1 - 25 of 454) sorted by relevance

1234567891011>>

/macosx-10.9.5/JavaScriptCore-7537.78.1/runtime/
H A DIndexingHeaderInlines.h35 inline size_t IndexingHeader::preCapacity(Structure* structure) argument
37 if (LIKELY(!hasArrayStorage(structure->indexingType())))
43 inline size_t IndexingHeader::indexingPayloadSizeInBytes(Structure* structure) argument
45 switch (structure->indexingType()) {
56 ASSERT(!hasIndexedProperties(structure->indexingType()));
H A DErrorInstance.cpp33 ErrorInstance::ErrorInstance(VM& vm, Structure* structure) argument
34 : JSNonFinalObject(vm, structure)
H A DJSCellInlines.h42 inline JSCell::JSCell(VM& vm, Structure* structure) argument
43 : m_structure(vm, this, structure)
58 inline void JSCell::finishCreation(VM& vm, Structure* structure, CreatingEarlyCellTag) argument
63 if (structure)
65 m_structure.setEarlyValue(vm, this, structure);
66 // Very first set of allocations won't have a real structure.
70 inline Structure* JSCell::structure() const function in class:JSC::JSCell
129 return structure()->typeInfo().type() == ProxyType;
137 inline void JSCell::setStructure(VM& vm, Structure* structure) argument
139 ASSERT(structure
[all...]
H A DBooleanObject.cpp33 BooleanObject::BooleanObject(VM& vm, Structure* structure) argument
34 : JSWrapperObject(vm, structure)
H A DNameInstance.cpp36 NameInstance::NameInstance(VM& vm, Structure* structure, JSString* nameString) argument
37 : Base(vm, structure)
H A DJSPropertyNameIterator.cpp48 ASSERT(!o->structure()->enumerationCache() ||
49 o->structure()->enumerationCache()->cachedStructure() != o->structure() ||
50 o->structure()->enumerationCache()->cachedPrototypeChain() != o->structure()->prototypeChain(exec));
55 if (!o->structure()->hasNonEnumerableProperties() && !o->structure()->hasGetterSetterProperties()
56 && !o->structure()->isUncacheableDictionary() && !o->structure()->typeInfo().overridesGetPropertyNames())
62 if (o->structure()
73 WriteBarrier<Structure>* structure = structureChain->head(); local
[all...]
H A DStructureChain.cpp38 StructureChain::StructureChain(VM& vm, Structure* structure) argument
39 : JSCell(vm, structure)
52 ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());
H A DStructure.cpp84 inline void StructureTransitionTable::add(VM& vm, Structure* structure) argument
91 setSingleTransition(vm, structure);
101 // Add the structure to the map.
106 map()->set(make_pair(structure->m_nameInPrevious, +structure->m_attributesInPrevious), structure);
120 Structure* structure = *it; local
122 switch (structure->m_transitionTable.size()) {
125 if (!structure->previousID())
134 if (structure
247 Structure* structure = this; local
302 addPropertyTransitionToExistingStructure(Structure* structure, PropertyName propertyName, unsigned attributes, JSCell* specificValue, PropertyOffset& offset) argument
347 addPropertyTransition(VM& vm, Structure* structure, PropertyName propertyName, unsigned attributes, JSCell* specificValue, PropertyOffset& offset) argument
392 removePropertyTransition(VM& vm, Structure* structure, PropertyName propertyName, PropertyOffset& offset) argument
404 changePrototypeTransition(VM& vm, Structure* structure, JSValue prototype) argument
419 despecifyFunctionTransition(VM& vm, Structure* structure, PropertyName replaceFunction) argument
442 attributeChangeTransition(VM& vm, Structure* structure, PropertyName propertyName, unsigned attributes) argument
464 toDictionaryTransition(VM& vm, Structure* structure, DictionaryKind kind) argument
480 toCacheableDictionaryTransition(VM& vm, Structure* structure) argument
485 toUncacheableDictionaryTransition(VM& vm, Structure* structure) argument
491 sealTransition(VM& vm, Structure* structure) argument
506 freezeTransition(VM& vm, Structure* structure) argument
524 preventExtensionsTransition(VM& vm, Structure* structure) argument
550 nonPropertyTransition(VM& vm, Structure* structure, NonPropertyTransition transitionKind) argument
[all...]
H A DButterflyInlines.h56 inline Butterfly* Butterfly::create(VM& vm, Structure* structure) argument
58 return create(vm, 0, structure->outOfLineCapacity(), hasIndexingHeader(structure->indexingType()), IndexingHeader(), 0);
70 inline void* Butterfly::base(Structure* structure) argument
72 return base(indexingHeader()->preCapacity(structure), structure->outOfLineCapacity());
87 inline Butterfly* Butterfly::growPropertyStorage(VM& vm, Structure* structure, size_t oldPropertyCapacity, size_t newPropertyCapacity) argument
90 vm, indexingHeader()->preCapacity(structure), oldPropertyCapacity,
91 hasIndexingHeader(structure->indexingType()),
92 indexingHeader()->indexingPayloadSizeInBytes(structure), newPropertyCapacit
143 resizeArray(VM& vm, Structure* structure, size_t newPreCapacity, size_t newIndexingPayloadSizeInBytes) argument
152 unshift(Structure* structure, size_t numberOfSlots) argument
171 shift(Structure* structure, size_t numberOfSlots) argument
[all...]
H A DJSDestructibleObject.h21 JSDestructibleObject(VM& vm, Structure* structure, Butterfly* butterfly = 0) argument
22 : JSNonFinalObject(vm, structure, butterfly)
23 , m_classInfo(structure->classInfo())
H A DPrototypeMap.cpp64 Structure* structure = JSFinalObject::createStructure( local
66 addResult.iterator->value = structure;
67 return structure;
H A DObjectConstructor.h36 static ObjectConstructor* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, ObjectPrototype* objectPrototype) argument
38 ObjectConstructor* constructor = new (NotNull, allocateCell<ObjectConstructor>(*exec->heap())) ObjectConstructor(globalObject, structure);
63 inline JSObject* constructEmptyObject(ExecState* exec, Structure* structure) argument
65 return JSFinalObject::create(exec, structure);
72 Structure* structure = prototypeMap.emptyObjectStructureForPrototype( local
74 return constructEmptyObject(exec, structure);
H A DNativeErrorPrototype.cpp31 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, Structure* structure) argument
32 : ErrorPrototype(exec, structure)
H A DNativeErrorPrototype.h36 static NativeErrorPrototype* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const String& name, NativeErrorConstructor* constructor) argument
38 NativeErrorPrototype* prototype = new (NotNull, allocateCell<NativeErrorPrototype>(*exec->heap())) NativeErrorPrototype(exec, structure);
H A DNumberObject.cpp35 NumberObject::NumberObject(VM& vm, Structure* structure) argument
36 : JSWrapperObject(vm, structure)
/macosx-10.9.5/JavaScriptCore-7537.78.1/bytecode/
H A DArrayAllocationProfile.cpp37 m_currentIndexingType = leastUpperBoundOfIndexingTypes(m_currentIndexingType, m_lastArray->structure()->indexingType());
H A DResolveGlobalStatus.cpp36 static ResolveGlobalStatus computeForStructure(CodeBlock* codeBlock, Structure* structure, Identifier& identifier) argument
40 PropertyOffset offset = structure->get(*codeBlock->vm(), identifier, attributesIgnored, specificValue);
41 if (structure->isDictionary())
46 return ResolveGlobalStatus(ResolveGlobalStatus::Simple, structure, offset, specificValue);
H A DGetByIdStatus.cpp48 Structure* structure = instruction[4].u.structure.get();
49 if (!structure)
54 PropertyOffset offset = structure->get(
56 if (structure->isDictionary())
61 return GetByIdStatus(Simple, false, StructureSet(structure), offset, specificValue);
67 void GetByIdStatus::computeForChain(GetByIdStatus& result, CodeBlock* profiledBlock, Identifier& ident, Structure* structure) argument
72 // worth exploring reifying the structure chain from the structure we've got
74 // if the structure chai
164 Structure* structure = stubInfo.u.getByIdSelf.baseObjectStructure.get(); local
186 Structure* structure = list->list[i].base.get(); local
259 computeFor(VM& vm, Structure* structure, Identifier& ident) argument
[all...]
H A DStructureSet.h45 StructureSet(Structure* structure) argument
47 m_structures.append(structure);
55 void add(Structure* structure) argument
57 ASSERT(!contains(structure));
58 m_structures.append(structure);
73 void remove(Structure* structure) argument
76 if (m_structures[i] != structure)
85 bool contains(Structure* structure) const
88 if (m_structures[i] == structure)
94 bool containsOnly(Structure* structure) cons
[all...]
H A DByValInfo.h75 inline bool hasOptimizableIndexing(Structure* structure) argument
77 return isOptimizableIndexingType(structure->indexingType())
78 || hasOptimizableIndexingForClassInfo(structure->classInfo());
125 inline JITArrayMode jitArrayModeForStructure(Structure* structure) argument
127 if (isOptimizableIndexingType(structure->indexingType()))
128 return jitArrayModeForIndexingType(structure->indexingType());
130 ASSERT(hasOptimizableIndexingForClassInfo(structure->classInfo()));
131 return jitArrayModeForClassInfo(structure->classInfo());
H A DPutByIdStatus.cpp46 Structure* structure = instruction[4].u.structure.get(); local
47 if (!structure)
52 PropertyOffset offset = structure->get(*profiledBlock->vm(), ident);
56 return PutByIdStatus(SimpleReplace, structure, 0, 0, offset);
59 ASSERT(structure->transitionWatchpointSetHasBeenInvalidated());
66 Structure* newStructure = instruction[6].u.structure.get();
75 return PutByIdStatus(SimpleTransition, structure, newStructure, chain, offset);
121 PropertyOffset offset = stubInfo.u.putByIdTransition.structure->get(
127 stubInfo.u.putByIdTransition.structure
142 computeFor(VM& vm, JSGlobalObject* globalObject, Structure* structure, Identifier& ident, bool isDirect) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/pt/include/format/
H A Djson_core.inc41 parsing expression describing the symbols sentennial structure, as
45 This part we could try to expand further into a json data structure
/macosx-10.9.5/JavaScriptCore-7537.78.1/dfg/
H A DDFGAbstractValue.h118 Structure* structure = value.asCell()->structure(); local
119 m_currentKnownStructure = structure;
120 setFuturePossibleStructure(structure);
121 m_arrayModes = asArrayModes(structure->indexingType());
138 Structure* structure = value.asCell()->structure(); local
139 setFuturePossibleStructure(structure);
140 m_arrayModes = asArrayModes(structure->indexingType());
154 void set(Structure* structure) argument
334 Structure* structure = value.asCell()->structure(); local
489 setFuturePossibleStructure(Structure* structure) argument
497 filterFuturePossibleStructure(Structure* structure) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSDOMWindowShell.cpp46 JSDOMWindowShell::JSDOMWindowShell(Structure* structure, DOMWrapperWorld* world) argument
47 : Base(*world->vm(), structure)
68 structure()->setGlobalObject(*JSDOMWindow::commonVM(), window);
83 Structure* structure = JSDOMWindow::createStructure(*JSDOMWindow::commonVM(), 0, prototype.get()); local
84 JSDOMWindow* jsDOMWindow = JSDOMWindow::create(*JSDOMWindow::commonVM(), structure, domWindow, this);
85 prototype->structure()->setGlobalObject(*JSDOMWindow::commonVM(), jsDOMWindow);
/macosx-10.9.5/JavaScriptCore-7537.78.1/jit/
H A DClosureCallStubRoutine.cpp42 Structure* structure, ExecutableBase* executable, const CodeOrigin& codeOrigin)
44 , m_structure(vm, owner, structure)
40 ClosureCallStubRoutine( const MacroAssemblerCodeRef& code, VM& vm, const JSCell* owner, Structure* structure, ExecutableBase* executable, const CodeOrigin& codeOrigin) argument

Completed in 301 milliseconds

1234567891011>>