|
Lines 132-138
public:
a/Source/JavaScriptCore/runtime/Structure.h_sec1
|
| 132 |
static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal; |
132 |
static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal; |
| 133 |
|
133 |
|
| 134 |
enum PolyProtoTag { PolyProto }; |
134 |
enum PolyProtoTag { PolyProto }; |
| 135 |
static Structure* create(VM&, JSGlobalObject*, JSValue prototype, const TypeInfo&, const ClassInfo*, IndexingType = NonArray, unsigned inlineCapacity = 0); |
135 |
inline static Structure* create(VM&, JSGlobalObject*, JSValue prototype, const TypeInfo&, const ClassInfo*, IndexingType = NonArray, unsigned inlineCapacity = 0); |
| 136 |
static Structure* create(PolyProtoTag, VM&, JSGlobalObject*, JSObject* prototype, const TypeInfo&, const ClassInfo*, IndexingType = NonArray, unsigned inlineCapacity = 0); |
136 |
static Structure* create(PolyProtoTag, VM&, JSGlobalObject*, JSObject* prototype, const TypeInfo&, const ClassInfo*, IndexingType = NonArray, unsigned inlineCapacity = 0); |
| 137 |
|
137 |
|
| 138 |
~Structure(); |
138 |
~Structure(); |
|
Lines 828-831
private:
a/Source/JavaScriptCore/runtime/Structure.h_sec2
|
| 828 |
uint32_t m_propertyHash; |
828 |
uint32_t m_propertyHash; |
| 829 |
}; |
829 |
}; |
| 830 |
|
830 |
|
|
|
831 |
inline Structure* Structure::create(VM& vm, JSGlobalObject* globalObject, JSValue prototype, const TypeInfo& typeInfo, const ClassInfo* classInfo, IndexingType indexingType, unsigned inlineCapacity) |
| 832 |
{ |
| 833 |
ASSERT(vm.structureStructure); |
| 834 |
ASSERT(classInfo); |
| 835 |
Structure* structure = new (NotNull, allocateCell<Structure>(vm.heap)) Structure(vm, globalObject, prototype, typeInfo, classInfo, indexingType, inlineCapacity); |
| 836 |
structure->finishCreation(vm); |
| 837 |
return structure; |
| 838 |
} |
| 839 |
|
| 831 |
} // namespace JSC |
840 |
} // namespace JSC |