Home
last modified time | relevance | path

Searched refs:jsHclass (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
Dproperties_cache.h29 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/
Dparallel_marker.cpp90 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()
Dverification.cpp26 auto jsHclass = obj->GetClass(); in VisitAllObjects() local
28 obj, jsHclass, [this](TaggedObject *root, ObjectSlot start, ObjectSlot end, in VisitAllObjects()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp393 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/
Dtagged_value_test.cpp965 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/
Djs_module_manager.cpp183 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()
Djs_module_source_text.cpp176 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/
Djs_object.cpp393 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()
Djs_tagged_value-inl.h856 JSHClass *jsHclass = GetTaggedObject()->GetClass(); in IsArray() local
857 if (jsHclass->IsJSArray()) { in IsArray()
861 if (jsHclass->IsJSProxy()) { in IsArray()
Ddump.cpp636 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/
Dstub_builder-inl.h2386 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()
Dstub_builder.cpp6414 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()