/arkcompiler/ets_runtime/ecmascript/ |
D | layout_info-inl.h | 25 inline int LayoutInfo::GetPropertiesCapacity() const in GetPropertiesCapacity() 30 inline int LayoutInfo::NumberOfElements() const in NumberOfElements() 35 inline void LayoutInfo::SetNumberOfElements([[maybe_unused]] const JSThread *thread, int properties) in SetNumberOfElements() 40 inline uint32_t LayoutInfo::GetKeyIndex(int index) const in GetKeyIndex() 45 inline uint32_t LayoutInfo::GetAttrIndex(int index) const in GetAttrIndex() 50 inline void LayoutInfo::SetPropertyInit(const JSThread *thread, int index, const JSTaggedValue &key, in SetPropertyInit() 58 inline void LayoutInfo::SetNormalAttr(const JSThread *thread, int index, const PropertyAttributes &… in SetNormalAttr() 66 inline JSTaggedValue LayoutInfo::GetKey(int index) const in GetKey() 72 inline PropertyAttributes LayoutInfo::GetAttr(int index) const in GetAttr() 78 inline JSTaggedValue LayoutInfo::GetSortedKey(int index) const in GetSortedKey() [all …]
|
D | layout_info.cpp | 25 void LayoutInfo::Initialize(const JSThread *thread, int num) in Initialize() 35 void LayoutInfo::AddKey(const JSThread *thread, [[maybe_unused]] int index, const JSTaggedValue &ke… in AddKey() 58 void LayoutInfo::GetAllKeys(const JSThread *thread, int end, int offset, TaggedArray *keyArray, in GetAllKeys() 88 void LayoutInfo::GetAllKeysByFilter(const JSThread *thread, uint32_t numberOfProps, uint32_t &keyAr… in GetAllKeysByFilter() 130 void LayoutInfo::GetAllKeys(int end, std::vector<JSTaggedValue> &keyVector, const JSHandle<JSObject… in GetAllKeys() 144 void LayoutInfo::GetAllEnumKeys(const JSThread *thread, int end, int offset, TaggedArray *keyArray, in GetAllEnumKeys() 166 bool LayoutInfo::IsUninitializedProperty(const JSHandle<JSObject> object, uint32_t index) in IsUninitializedProperty() 177 void LayoutInfo::DumpFieldIndexForProfile(int index, PGOHClassLayoutDesc &desc, PGOObjKind kind) in DumpFieldIndexForProfile()
|
D | js_hclass-inl.h | 46 LayoutInfo *layoutInfo = LayoutInfo::Cast(cachedHClass->GetLayout().GetTaggedObject()); in AddTransitions() 78 LayoutInfo *layoutInfo = LayoutInfo::Cast(cachedHClass->GetLayout().GetTaggedObject()); in AddProtoTransitions() 102 LayoutInfo *layoutInfo = LayoutInfo::Cast(cachedHClass->GetLayout().GetTaggedObject()); in FindTransitions() 154 LayoutInfo *layoutInfo = LayoutInfo::Cast(GetLayout().GetTaggedObject()); in UpdatePropertyMetaData() 240 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in FindPropertyEntry()
|
D | subtyping_operator-inl.h | 30 LayoutInfo *objLayout = LayoutInfo::Cast(obj->GetLayout().GetTaggedObject()); in GetElementByKey() 57 LayoutInfo *objLayout = LayoutInfo::Cast(obj->GetLayout().GetTaggedObject()); in IsLegalElement()
|
D | layout_info.h | 29 class LayoutInfo : private TaggedArray { 36 inline static LayoutInfo *Cast(TaggedObject *obj) in Cast() 39 return reinterpret_cast<LayoutInfo *>(obj); in Cast()
|
D | vtable.cpp | 24 LayoutInfo *layoutInfo = LayoutInfo::Cast(phcPoint->GetLayout().GetTaggedObject()); in CreateTuple()
|
D | js_hclass.cpp | 229 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, newJsHClass->GetLayout()); in SetPropertyOfObjHClass() 266 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, newJsHClass->GetLayout()); in AddProperty() 309 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, attrs); in TransitionExtension() 339 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in TransitionProto() 402 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout); in ShouldUpdateProtoClass() 446 JSHandle<LayoutInfo> oldLayout(thread, newHClass->GetLayout()); in TransitionForRepChange() 448 JSHandle<LayoutInfo> newLayout(factory->CopyLayoutInfo(oldLayout)); in TransitionForRepChange() 738 … PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in LookupPropertyInAotHClass() 797 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in DumpForProfile()
|
D | object_factory.h | 93 class LayoutInfo; variable 372 …JSHandle<LayoutInfo> CreateLayoutInfo(int properties, MemSpaceType type = MemSpaceType::SEMI_SPACE, 375 JSHandle<LayoutInfo> ExtendLayoutInfo(const JSHandle<LayoutInfo> &old, int properties); 377 JSHandle<LayoutInfo> CopyLayoutInfo(const JSHandle<LayoutInfo> &old); 379 JSHandle<LayoutInfo> CopyAndReSort(const JSHandle<LayoutInfo> &old, int end, int capacity);
|
D | object_operator.cpp | 358 LayoutInfo *layoutInfo = LayoutInfo::Cast(attrs.GetTaggedObject()); in LookupPropertyInlinedProps() 524 … LayoutInfo *layoutInfo = LayoutInfo::Cast(receiver->GetJSHClass()->GetLayout().GetTaggedObject()); in UpdateDataValue() 809 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in AddPropertyInternal()
|
D | object_fast_operator-inl.h | 72 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in GetPropertyByName() 141 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in SetPropertyByName() 205 … LayoutInfo *receiverLayoutInfo = LayoutInfo::Cast(receiverHClass->GetLayout().GetTaggedObject()); in SetPropertyByName()
|
D | js_object-inl.h | 228 auto layout = LayoutInfo::Cast(GetJSHClass()->GetLayout().GetTaggedObject()); in ConvertValueWithRep() 252 auto layout = LayoutInfo::Cast(GetJSHClass()->GetLayout().GetTaggedObject()); in SetPropertyInlinedPropsWithRep()
|
D | object_factory.cpp | 562 auto layout = LayoutInfo::Cast(klass->GetLayout().GetTaggedObject()); in CloneObjectLiteral() 606 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in CloneClassCtor() 674 JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(1); in CreateJSRegExpInstanceClass() 698 JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(1); in CreateJSArrayInstanceClass() 726 …JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(JSArguments::LENGTH_OF_INLINE_PROPERTIES); in CreateJSArguments() 1455 … JSHandle<LayoutInfo> layoutInfoHandle = CreateLayoutInfo(JSFunction::LENGTH_OF_INLINE_PROPERTIES); in CreateFunctionClass() 1505 JSHandle<LayoutInfo> layout = CreateLayoutInfo(size, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreateDefaultClassPrototypeHClass() 1525 JSHandle<LayoutInfo> layout = CreateLayoutInfo(size, MemSpaceType::OLD_SPACE, GrowMode::KEEP); in CreateDefaultClassConstructorHClass() 2425 JSHandle<LayoutInfo> ObjectFactory::CreateLayoutInfo(int properties, MemSpaceType type, GrowMode mo… in CreateLayoutInfo() 2428 …mode == GrowMode::GROW ? static_cast<int>(LayoutInfo::ComputeGrowCapacity(properties)) : propertie… in CreateLayoutInfo() [all …]
|
D | js_object.cpp | 153 JSHandle<LayoutInfo> layoutInfoHandle(thread, jshclass->GetLayout()); in TransitionToDictionary() 227 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in IsArrayLengthWritable() 324 LayoutInfo::Cast(obj->GetJSHClass()->GetLayout().GetTaggedObject()) in GetAllKeys() 348 LayoutInfo::Cast(obj->GetJSHClass()->GetLayout().GetTaggedObject())-> in GetAllKeysByFilter() 372 …LayoutInfo::Cast(obj->GetJSHClass()->GetLayout().GetTaggedObject())->GetAllKeys(end, keyVector, ob… in GetAllKeys() 403 LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()) in GetAllEnumKeys() 427 LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()) in GetAllEnumKeys() 1858 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in ToPropertyDescriptorFast()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | layout_info_test.cpp | 54 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0() 68 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0() 84 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0() 105 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0() 120 …JSHandle<LayoutInfo> newLayoutInfo = factory->ExtendLayoutInfo(layoutInfoHandle, newPropertiesLeng… in HWTEST_F_L0() 146 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0() 175 JSHandle<LayoutInfo> layoutInfoHandle = factory->CreateLayoutInfo(infoLength); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ts_class_analysis.cpp | 107 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in AnalyzeProperties()
|
D | ts_hclass_generator.cpp | 69 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in UpdateTSHClassFromPGO() 91 auto superLayout = LayoutInfo::Cast(superHClass->GetLayout().GetTaggedObject()); in UpdateTSHClassFromPGO() 183 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(numOfProps); in CreateIHClass() 250 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(keysLen); in CreatePHClass() 296 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(numOfProps); in CreateCHClass()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot_env.cpp | 72 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in HandleObjectField()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | verification.cpp | 35 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitAllObjects()
|
D | parallel_evacuator-inl.h | 49 auto layout = LayoutInfo::Cast(dst); in VisitBodyInObj()
|
D | parallel_marker-inl.h | 39 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VisitBodyInObj() 150 auto layout = LayoutInfo::Cast(dst); in VisitBodyInObj()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_lazy_callback.cpp | 224 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in ITERATE_INTL()
|
D | builtins_ark_tools.cpp | 145 … PropertyAttributes attr = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject())->GetAttr(entry); in IsNotHoleProperty()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 733 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in SerializeKeys() 758 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in SerializeKeys()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | class_info_extractor.cpp | 190 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode:… in CreatePrototypeHClass() 246 …JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode:… in CreateConstructorHClass() 303 JSHandle<LayoutInfo> layout(thread, constructorHClass->GetLayout()); in CorrectConstructorHClass()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type_parser.cpp | 862 …JSHandle<LayoutInfo> newLayout = factory->CopyLayoutInfo(JSHandle<LayoutInfo>(thread_, hclass->Get… in ParseObjectPGOType() 874 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject()); in VerifyObjIhcPGOType()
|