/arkcompiler/ets_runtime/ecmascript/ic/ |
D | properties_cache.h | 29 inline int Get(JSHClass *jsHclass, JSTaggedValue key) in Get() argument 31 int hash = Hash(jsHclass, key); in Get() 33 if ((prop.hclass_ == jsHclass) && (prop.key_ == key)) { in Get() 38 inline void Set(JSHClass *jsHclass, JSTaggedValue key, int index) in Set() argument 40 int hash = Hash(jsHclass, key); in Set() 42 prop.hclass_ = jsHclass; in Set()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | parallel_marker.cpp | 90 JSHClass *jsHclass = obj->SynchronizedGetClass(); in ProcessMarkStack() local 91 MarkObject(threadId, jsHclass); in ProcessMarkStack() 92 objXRay_.VisitObjectBody<VisitType::OLD_GC_VISIT>(obj, jsHclass, visitor); in ProcessMarkStack() 130 JSHClass *jsHclass = obj->GetClass(); in ProcessIncrementalMarkStack() local 131 MarkObject(threadId, jsHclass); in ProcessIncrementalMarkStack() 132 objXRay_.VisitObjectBody<VisitType::OLD_GC_VISIT>(obj, jsHclass, visitor); in ProcessIncrementalMarkStack() 167 auto jsHclass = obj->GetClass(); in ProcessMarkStack() local 168 objXRay_.VisitObjectBody<VisitType::SEMI_GC_VISIT>(obj, jsHclass, visitor); in ProcessMarkStack()
|
D | verification.cpp | 26 auto jsHclass = obj->GetClass(); in VisitAllObjects() local 28 obj, jsHclass, [this](TaggedObject *root, ObjectSlot start, ObjectSlot end, in VisitAllObjects()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 393 JSHClass *jsHclass = tagValue.GetTaggedObject()->GetClass(); in SerializeJSONProperty() local 394 if (UNLIKELY(jsHclass->IsJSProxy() && in SerializeJSONProperty() 721 JSHandle<JSHClass> jsHclass(thread_, obj->GetJSHClass()); in SerializeKeys() local 722 JSTaggedValue enumCache = jsHclass->GetEnumCache(); in SerializeKeys() 733 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in SerializeKeys() 734 int index = JSHClass::FindPropertyEntry(thread_, *jsHclass, key); in SerializeKeys() 739 … : propertiesArr->Get(static_cast<uint32_t>(index) - jsHclass->GetInlinedProperties()); in SerializeKeys() 753 int end = static_cast<int>(jsHclass->NumberOfProps()); in SerializeKeys() 758 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in SerializeKeys() 764 int index = JSHClass::FindPropertyEntry(thread_, *jsHclass, key); in SerializeKeys() [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | tagged_value_test.cpp | 965 JSHClass *jsHclass = jsFunction->GetJSHClass(); in HWTEST_F_L0() local 966 jsHclass->SetCallable(true); in HWTEST_F_L0() 968 jsHclass->SetCallable(false); in HWTEST_F_L0() 970 jsHclass->SetConstructor(true); in HWTEST_F_L0() 972 jsHclass->SetConstructor(false); in HWTEST_F_L0() 974 jsHclass->SetExtensible(true); in HWTEST_F_L0() 976 jsHclass->SetExtensible(false); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_manager.cpp | 183 JSHClass *jsHclass = obj->GetJSHClass(); in GetValueFromExportObject() local 184 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in GetValueFromExportObject() 186 value = obj->GetProperty(jsHclass, attr); in GetValueFromExportObject()
|
D | js_module_source_text.cpp | 176 JSHandle<JSHClass> jsHclass(thread, exportObject->GetJSHClass()); in ResolveExportObject() local 178 LayoutInfo *layoutInfo = LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()); in ResolveExportObject() 180 resolution = ResolveElementOfObject(thread, jsHclass, exportName, module); in ResolveExportObject()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_object.cpp | 393 JSHClass *jsHclass = obj->GetJSHClass(); in GetAllEnumKeys() local 394 JSTaggedValue enumCache = jsHclass->GetEnumCache(); in GetAllEnumKeys() 401 int end = static_cast<int>(jsHclass->NumberOfProps()); in GetAllEnumKeys() 403 LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()) in GetAllEnumKeys() 406 jsHclass->SetEnumCache(thread, keyArray.GetTaggedValue()); in GetAllEnumKeys() 424 JSHClass *jsHclass = obj->GetJSHClass(); in GetAllEnumKeys() local 425 int end = static_cast<int>(jsHclass->NumberOfProps()); in GetAllEnumKeys() 427 LayoutInfo::Cast(jsHclass->GetLayout().GetTaggedObject()) in GetAllEnumKeys()
|
D | js_tagged_value-inl.h | 856 JSHClass *jsHclass = GetTaggedObject()->GetClass(); in IsArray() local 857 if (jsHclass->IsJSArray()) { in IsArray() 861 if (jsHclass->IsJSProxy()) { in IsArray()
|
D | dump.cpp | 636 auto jsHclass = obj->GetClass(); in DumpObject() local 637 JSType type = jsHclass->GetObjectType(); in DumpObject() 1133 DumpHClass(jsHclass, os, false); in DumpObject() 3708 auto jsHclass = obj->GetClass(); in DumpObject() local 3709 JSType type = jsHclass->GetObjectType(); in DumpObject()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder-inl.h | 2386 GateRef jsHclass = LoadHClass(obj); in SetExtensibleToBitfield() local 2387 GateRef bitfield = Load(VariableType::INT32(), jsHclass, IntPtr(JSHClass::BIT_FIELD_OFFSET)); in SetExtensibleToBitfield() 2393 Store(VariableType::INT32(), glue, jsHclass, IntPtr(JSHClass::BIT_FIELD_OFFSET), bitfield); in SetExtensibleToBitfield() 2418 GateRef jsHclass = LoadHClass(obj); in IsTypedArray() local 2419 GateRef jsType = GetObjectType(jsHclass); in IsTypedArray()
|
D | stub_builder.cpp | 6414 GateRef jsHclass = LoadHClass(obj); in HasStableElements() local 6415 Branch(IsStableElements(jsHclass), &targetIsStableElements, &exit); in HasStableElements() 6454 GateRef jsHclass = LoadHClass(obj); in IsStableJSArguments() local 6455 Branch(IsStableArguments(jsHclass), &targetIsStableArguments, &exit); in IsStableJSArguments() 6495 GateRef jsHclass = LoadHClass(obj); in IsStableJSArray() local 6496 Branch(IsStableArray(jsHclass), &targetIsStableArray, &exit); in IsStableJSArray()
|