Home
last modified time | relevance | path

Searched refs:hClass (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dglobal_env_constants.cpp102 JSHClass *hClass = *factory->InitSClassClass(); in InitSharedRootsClasses() local
104 SetConstant(ConstantIndex::HCLASS_CLASS_INDEX, JSTaggedValue(hClass)); in InitSharedRootsClasses()
107 factory->NewSEcmaReadOnlyHClass(hClass, 0, JSType::TAGGED_ARRAY)); in InitSharedRootsClasses()
109 factory->NewSEcmaReadOnlyHClass(hClass, FreeObject::NEXT_OFFSET, JSType::FREE_OBJECT_WITH_NONE_FIELD)); in InitSharedRootsClasses()
111 factory->NewSEcmaReadOnlyHClass(hClass, FreeObject::SIZE_OFFSET, JSType::FREE_OBJECT_WITH_ONE_FIELD)); in InitSharedRootsClasses()
113 factory->NewSEcmaReadOnlyHClass(hClass, FreeObject::SIZE, JSType::FREE_OBJECT_WITH_TWO_FIELD)); in InitSharedRootsClasses()
115 factory->NewSEcmaReadOnlyHClass(hClass, 0, JSType::LINE_STRING)); in InitSharedRootsClasses()
117 factory->NewSEcmaReadOnlyHClass(hClass, 0, JSType::SLICED_STRING)); in InitSharedRootsClasses()
119 factory->NewSEcmaReadOnlyHClass(hClass, 0, JSType::CONSTANT_STRING)); in InitSharedRootsClasses()
121 factory->NewSEcmaReadOnlyHClass(hClass, in InitSharedRootsClasses()
280 InitRootsClassesPartOne(JSHClass *hClass, ObjectFactory *factory) InitRootsClassesPartOne() argument
314 InitRootsClassesPartTwo(JSHClass *hClass, ObjectFactory *factory) InitRootsClassesPartTwo() argument
350 JSHClass *hClass = JSHClass::Cast(GetHClassClass().GetTaggedObject()); InitRootsClasses() local
[all...]
H A Dglobal_env_constants.h850 void InitRootsClassesPartOne(JSHClass *hClass, ObjectFactory *factory);
851 void InitRootsClassesPartTwo(JSHClass *hClass, ObjectFactory *factory);
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dhcr_circuit_builder.h87 GateRef hClass = LoadHClass(obj); in IsCallable() local
89 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsCallable()
93 GateRef CircuitBuilder::IsProtoTypeHClass(GateRef hClass) in IsProtoTypeHClass() argument
95 GateRef bitfield = LoadConstOffset(VariableType::INT32(), hClass, JSHClass::BIT_FIELD_OFFSET); in IsProtoTypeHClass()
153 GateRef CircuitBuilder::IsStableArguments(GateRef hClass) in IsStableArguments() argument
155 GateRef objectType = GetObjectType(hClass); in IsStableArguments()
157 GateRef isStableElements = IsStableElements(hClass); in IsStableArguments()
161 GateRef CircuitBuilder::IsStableArray(GateRef hClass) in IsStableArray() argument
163 GateRef objectType = GetObjectType(hClass); in IsStableArray()
165 GateRef isStableElements = IsStableElements(hClass); in IsStableArray()
209 GetObjectSizeFromHClass(GateRef hClass) GetObjectSizeFromHClass() argument
219 IsDictionaryModeByHClass(GateRef hClass) IsDictionaryModeByHClass() argument
229 StoreHClass(GateRef glue, GateRef object, GateRef hClass) StoreHClass() argument
231 Store(VariableType::JS_POINTER(), glue, object, IntPtr(TaggedObject::HCLASS_OFFSET), hClass, StoreHClass() local
235 StoreHClassWithoutBarrier(GateRef glue, GateRef object, GateRef hClass) StoreHClassWithoutBarrier() argument
237 Store(VariableType::JS_POINTER(), glue, object, IntPtr(TaggedObject::HCLASS_OFFSET), hClass, StoreHClassWithoutBarrier() local
246 GetObjectType(GateRef hClass) GetObjectType() argument
264 GetElementsKindByHClass(GateRef hClass) GetElementsKindByHClass() argument
273 HasConstructorByHClass(GateRef hClass) HasConstructorByHClass() argument
283 IsDictionaryElement(GateRef hClass) IsDictionaryElement() argument
293 IsStableElements(GateRef hClass) IsStableElements() argument
305 GateRef hClass = LoadHClass(object); HasConstructor() local
311 GateRef hClass = LoadHClass(object); IsConstructor() local
323 GateRef hClass = LoadHClass(object); IsClassConstructor() local
340 GateRef hClass = LoadHClass(object); IsExtensible() local
351 GateRef hClass = LoadHClass(object); IsClassPrototype() local
[all...]
H A Dstub_builder.h389 void StoreHClass(GateRef glue, GateRef object, GateRef hClass);
390 void StoreHClassWithoutBarrier(GateRef glue, GateRef object, GateRef hClass);
391 void StoreBuiltinHClass(GateRef glue, GateRef object, GateRef hClass);
394 GateRef GetObjectType(GateRef hClass);
396 GateRef IsDictionaryModeByHClass(GateRef hClass);
397 GateRef IsDictionaryElement(GateRef hClass);
398 GateRef IsStableElements(GateRef hClass);
399 GateRef HasConstructorByHClass(GateRef hClass);
494 GateRef HclassIsPrototypeHandler(GateRef hClass);
495 GateRef HclassIsTransitionHandler(GateRef hClass);
[all...]
H A Dstub_builder-inl.h1264 inline void StubBuilder::StoreHClass(GateRef glue, GateRef object, GateRef hClass) in StoreHClass() argument
1266 return env_->GetBuilder()->StoreHClass(glue, object, hClass); in StoreHClass()
1269 inline void StubBuilder::StoreHClassWithoutBarrier(GateRef glue, GateRef object, GateRef hClass) in StoreHClassWithoutBarrier() argument
1271 return env_->GetBuilder()->StoreHClassWithoutBarrier(glue, object, hClass); in StoreHClassWithoutBarrier()
1274 inline void StubBuilder::StoreBuiltinHClass(GateRef glue, GateRef object, GateRef hClass) in StoreBuiltinHClass() argument
1276 return env_->GetBuilder()->StoreHClassWithoutBarrier(glue, object, hClass); in StoreBuiltinHClass()
1284 inline GateRef StubBuilder::GetObjectType(GateRef hClass) in GetObjectType() argument
1286 return env_->GetBuilder()->GetObjectType(hClass); in GetObjectType()
1296 inline GateRef StubBuilder::IsDictionaryModeByHClass(GateRef hClass) in IsDictionaryModeByHClass() argument
1298 return env_->GetBuilder()->IsDictionaryModeByHClass(hClass); in IsDictionaryModeByHClass()
1301 IsDictionaryElement(GateRef hClass) IsDictionaryElement() argument
1375 GateRef hClass = LoadHClass(object); IsConstructor() local
1739 HclassIsPrototypeHandler(GateRef hClass) HclassIsPrototypeHandler() argument
1745 HclassIsTransitionHandler(GateRef hClass) HclassIsTransitionHandler() argument
1751 HclassIsPropertyBox(GateRef hClass) HclassIsPropertyBox() argument
2042 GetPrototypeFromHClass(GateRef hClass) GetPrototypeFromHClass() argument
2047 GetEnumCacheFromHClass(GateRef hClass) GetEnumCacheFromHClass() argument
2052 GetProtoChangeMarkerFromHClass(GateRef hClass) GetProtoChangeMarkerFromHClass() argument
2057 GetLayoutFromHClass(GateRef hClass) GetLayoutFromHClass() argument
2063 GetBitFieldFromHClass(GateRef hClass) GetBitFieldFromHClass() argument
2093 SetBitFieldToHClass(GateRef glue, GateRef hClass, GateRef bitfield) SetBitFieldToHClass() argument
2096 Store(VariableType::INT32(), glue, hClass, offset, bitfield); SetBitFieldToHClass() local
2110 SetPrototypeToHClass(VariableType type, GateRef glue, GateRef hClass, GateRef proto) SetPrototypeToHClass() argument
2116 SetProtoChangeDetailsToHClass(VariableType type, GateRef glue, GateRef hClass, GateRef protoChange) SetProtoChangeDetailsToHClass() argument
2123 SetLayoutToHClass(VariableType type, GateRef glue, GateRef hClass, GateRef attr, MemoryAttribute mAttr) SetLayoutToHClass() argument
2130 SetEnumCacheToHClass(VariableType type, GateRef glue, GateRef hClass, GateRef key) SetEnumCacheToHClass() argument
2136 SetTransitionsToHClass(VariableType type, GateRef glue, GateRef hClass, GateRef transition) SetTransitionsToHClass() argument
2142 SetParentToHClass(VariableType type, GateRef glue, GateRef hClass, GateRef parent) SetParentToHClass() argument
2148 SetIsProtoTypeToHClass(GateRef glue, GateRef hClass, GateRef value) SetIsProtoTypeToHClass() argument
2160 SetIsTS(GateRef glue, GateRef hClass, GateRef value) SetIsTS() argument
2172 IsProtoTypeHClass(GateRef hClass) IsProtoTypeHClass() argument
2180 SetPropertyInlinedProps(GateRef glue, GateRef obj, GateRef hClass, GateRef value, GateRef attrOffset, VariableType type, MemoryAttribute mAttr) SetPropertyInlinedProps() argument
2197 GetPropertyInlinedProps(GateRef obj, GateRef hClass, GateRef index) GetPropertyInlinedProps() argument
2214 IncNumberOfProps(GateRef glue, GateRef hClass) IncNumberOfProps() argument
2220 GetNumberOfPropsFromHClass(GateRef hClass) GetNumberOfPropsFromHClass() argument
2228 HasDeleteProperty(GateRef hClass) HasDeleteProperty() argument
2233 IsTSHClass(GateRef hClass) IsTSHClass() argument
2242 SetNumberOfPropsToHClass(GateRef glue, GateRef hClass, GateRef value) SetNumberOfPropsToHClass() argument
2248 Store(VariableType::INT32(), glue, hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET), SetNumberOfPropsToHClass() local
2252 GetInlinedPropertiesFromHClass(GateRef hClass) GetInlinedPropertiesFromHClass() argument
2284 GetElementsKindFromHClass(GateRef hClass) GetElementsKindFromHClass() argument
2289 GetObjectSizeFromHClass(GateRef hClass) GetObjectSizeFromHClass() argument
2294 GetInlinedPropsStartFromHClass(GateRef hClass) GetInlinedPropsStartFromHClass() argument
2872 SetHClassBit(GateRef glue, GateRef hClass, GateRef value) SetHClassBit() argument
2880 Store(VariableType::INT32(), glue, hClass, IntPtr(JSHClass::BIT_FIELD_OFFSET), newVal); SetHClassBit() local
3651 IsStableElements(GateRef hClass) IsStableElements() argument
3656 HasConstructorByHClass(GateRef hClass) HasConstructorByHClass() argument
3666 IsStableArguments(GateRef hClass) IsStableArguments() argument
3671 IsStableArray(GateRef hClass) IsStableArray() argument
[all...]
H A Dcircuit_builder.cpp613 GateRef CircuitBuilder::GetPrototypeFromHClass(GateRef hClass) in GetPrototypeFromHClass() argument
616 return Load(VariableType::JS_ANY(), hClass, protoOffset); in GetPrototypeFromHClass()
619 GateRef CircuitBuilder::GetEnumCacheFromHClass(GateRef hClass) in GetEnumCacheFromHClass() argument
622 return Load(VariableType::JS_ANY(), hClass, offset); in GetEnumCacheFromHClass()
625 GateRef CircuitBuilder::GetProtoChangeMarkerFromHClass(GateRef hClass) in GetProtoChangeMarkerFromHClass() argument
628 return Load(VariableType::JS_ANY(), hClass, offset); in GetProtoChangeMarkerFromHClass()
734 GateRef CircuitBuilder::HasDeleteProperty(GateRef hClass) in HasDeleteProperty() argument
736 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in HasDeleteProperty()
743 GateRef CircuitBuilder::IsOnHeap(GateRef hClass) in IsOnHeap() argument
745 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPt in IsOnHeap()
1286 TransProtoWithoutLayout(GateRef glue, GateRef hClass, GateRef proto) TransProtoWithoutLayout() argument
1325 GateRef hClass = GetGlobalConstantValue(VariableType::JS_POINTER(), glue, OrdinaryNewJSObjectCreate() local
1533 GateRef hClass = LoadHClassByConstOffset(array); IsStableArrayLengthWriteable() local
[all...]
H A Dcircuit_builder.h305 GateRef GetPrototypeFromHClass(GateRef hClass);
306 GateRef GetEnumCacheFromHClass(GateRef hClass);
307 GateRef GetProtoChangeMarkerFromHClass(GateRef hClass);
324 GateRef HasDeleteProperty(GateRef hClass);
325 GateRef IsOnHeap(GateRef hClass);
461 inline GateRef GetObjectType(GateRef hClass);
467 inline GateRef IsStableElements(GateRef hClass);
468 inline GateRef IsStableArguments(GateRef hClass);
469 inline GateRef IsStableArray(GateRef hClass);
470 inline GateRef IsDictionaryElement(GateRef hClass);
[all...]
H A Dhcr_circuit_builder.cpp563 void CircuitBuilder::SetPropertyInlinedProps(GateRef glue, GateRef obj, GateRef hClass, in SetPropertyInlinedProps() argument
566 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in SetPropertyInlinedProps()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dheap_manager.cpp372 static bool MatchesClass(const ObjectHeader *obj, const Class *hClass, bool assignable) in MatchesClass() argument
375 return obj->IsInstanceOf(hClass); in MatchesClass()
377 return obj->ClassAddr<Class>() == hClass; in MatchesClass()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_function_stub_builder.cpp93 GateRef hClass = LoadHClass(arrayObj); in PrototypeApply() local
95 GateRef result = GetPropertyInlinedProps(arrayObj, hClass, PropertyInlinedPropsOffset); in PrototypeApply()
269 GateRef hClass = LoadHClass(arrayObj); in BuildArgumentsListFastElements() local
274 BRANCH(Int64Equal(hClass, argmentsClass), &hClassEqual, &exit); in BuildArgumentsListFastElements()
278 GateRef result = GetPropertyInlinedProps(arrayObj, hClass, PropertyInlinedPropsOffset); in BuildArgumentsListFastElements()
H A Dbuiltins_object_stub_builder.cpp1301 GateRef hClass = LoadHClass(obj); in GetPrototypeOf() local
1302 GateRef prototype = GetPrototypeFromHClass(hClass); in GetPrototypeOf()

Completed in 23 milliseconds