/arkcompiler/ets_runtime/ecmascript/ |
D | global_env_constants.cpp | 78 void GlobalEnvConstants::Init(JSThread *thread, JSHClass *hClass) in Init() argument 80 InitRootsClass(thread, hClass); in Init() 85 void GlobalEnvConstants::InitRootsClass(JSThread *thread, JSHClass *hClass) in InitRootsClass() argument 90 SetConstant(ConstantIndex::HCLASS_CLASS_INDEX, JSTaggedValue(hClass)); in InitRootsClass() 92 …factory->NewEcmaReadOnlyHClass(hClass, FreeObject::NEXT_OFFSET, JSType::FREE_OBJECT_WITH_NONE_FIEL… in InitRootsClass() 94 …factory->NewEcmaReadOnlyHClass(hClass, FreeObject::SIZE_OFFSET, JSType::FREE_OBJECT_WITH_ONE_FIELD… in InitRootsClass() 96 … factory->NewEcmaReadOnlyHClass(hClass, FreeObject::SIZE, JSType::FREE_OBJECT_WITH_TWO_FIELD)); in InitRootsClass() 97 …SetConstant(ConstantIndex::LINE_STRING_CLASS_INDEX, factory->NewEcmaReadOnlyHClass(hClass, 0, JSTy… in InitRootsClass() 99 factory->NewEcmaReadOnlyHClass(hClass, 0, JSType::CONSTANT_STRING)); in InitRootsClass() 100 …SetConstant(ConstantIndex::TREE_STRING_CLASS_INDEX, factory->NewEcmaReadOnlyHClass(hClass, 0, JSTy… in InitRootsClass() [all …]
|
D | global_env_constants.h | 506 void Init(JSThread *thread, JSHClass *hClass); 508 void InitRootsClass(JSThread *thread, JSHClass *hClass);
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder.h | 290 void StoreHClass(GateRef glue, GateRef object, GateRef hClass); 292 GateRef GetObjectType(GateRef hClass); 294 GateRef IsDictionaryModeByHClass(GateRef hClass); 295 GateRef IsDictionaryElement(GateRef hClass); 296 GateRef IsStableElements(GateRef hClass); 360 GateRef HclassIsPrototypeHandler(GateRef hClass); 361 GateRef HclassIsTransitionHandler(GateRef hClass); 362 GateRef HclassIsPropertyBox(GateRef hClass); 374 GateRef IsStableArguments(GateRef hClass); 375 GateRef IsStableArray(GateRef hClass); [all …]
|
D | circuit_builder-inl.h | 612 void CircuitBuilder::StoreHClass(GateRef glue, GateRef object, GateRef hClass) in StoreHClass() argument 614 Store(VariableType::JS_POINTER(), glue, object, IntPtr(TaggedObject::HCLASS_OFFSET), hClass); in StoreHClass() 629 GateRef hClass = LoadHClass(obj); in IsJSFunctionWithBit() local 631 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsJSFunctionWithBit() 637 GateRef hClass = LoadHClass(obj); in IsOptimizedAndNotFastCall() local 639 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsOptimizedAndNotFastCall() 646 GateRef hClass = LoadHClass(obj); in IsOptimized() local 648 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsOptimized() 659 GateRef hClass = LoadHClass(obj); in CanFastCall() local 661 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in CanFastCall() [all …]
|
D | stub_builder-inl.h | 998 inline void StubBuilder::StoreHClass(GateRef glue, GateRef object, GateRef hClass) in StoreHClass() argument 1000 return env_->GetBuilder()->StoreHClass(glue, object, hClass); in StoreHClass() 1003 inline GateRef StubBuilder::GetObjectType(GateRef hClass) in GetObjectType() argument 1005 return env_->GetBuilder()->GetObjectType(hClass); in GetObjectType() 1016 inline GateRef StubBuilder::IsDictionaryModeByHClass(GateRef hClass) in IsDictionaryModeByHClass() argument 1018 return env_->GetBuilder()->IsDictionaryModeByHClass(hClass); in IsDictionaryModeByHClass() 1021 inline GateRef StubBuilder::IsDictionaryElement(GateRef hClass) in IsDictionaryElement() argument 1023 return env_->GetBuilder()->IsDictionaryElement(hClass); in IsDictionaryElement() 1093 GateRef hClass = LoadHClass(object); in IsConstructor() local 1095 GateRef bitfield = Load(VariableType::INT32(), hClass, bitfieldOffset); in IsConstructor() [all …]
|
D | circuit_builder.h | 569 inline void StoreHClass(GateRef glue, GateRef object, GateRef hClass); 571 inline GateRef GetObjectType(GateRef hClass); 572 inline GateRef IsDictionaryModeByHClass(GateRef hClass); 573 inline GateRef GetElementsKindByHClass(GateRef hClass); 574 inline GateRef IsIsStableElementsByHClass(GateRef hClass); 575 inline GateRef IsStableElements(GateRef hClass); 576 inline GateRef IsStableArguments(GateRef hClass); 577 inline GateRef IsStableArray(GateRef hClass); 579 inline GateRef IsDictionaryElement(GateRef hClass); 595 inline GateRef GetObjectSizeFromHClass(GateRef hClass); [all …]
|
D | common_stubs.cpp | 719 GateRef hClass = LoadHClass(func); in GenerateCircuit() local 720 GateRef bitfield = Load(VariableType::INT32(), hClass, Int32(JSHClass::BIT_FIELD_OFFSET)); in GenerateCircuit() 808 GateRef hClass = LoadHClass(target); in GenerateCircuit() local 809 … GateRef bitfield = Load(VariableType::INT32(), hClass, Int32(JSHClass::BIT_FIELD_OFFSET)); in GenerateCircuit() 855 GateRef hClass = LoadHClass(method); in GenerateCircuit() local 856 … GateRef bitfield = Load(VariableType::INT32(), hClass, Int32(JSHClass::BIT_FIELD_OFFSET)); in GenerateCircuit()
|
D | slowpath_lowering.cpp | 2466 GateRef hClass = builder_.LoadHClass(result); in LowerDefineFunc() local 2467 builder_.SetPropertyInlinedProps(glue_, result, hClass, builder_.ToTaggedInt(length), in LowerDefineFunc() 3015 GateRef hClass = builder_.LoadHClass(func); in LowerFastCall() local 3016 …GateRef bitfield = builder_.Load(VariableType::INT32(), hClass, builder_.Int32(JSHClass::BIT_FIELD… in LowerFastCall()
|
D | circuit_builder.cpp | 1690 void CircuitBuilder::SetPropertyInlinedProps(GateRef glue, GateRef obj, GateRef hClass, in SetPropertyInlinedProps() argument 1693 GateRef bitfield = Load(VariableType::INT32(), hClass, IntPtr(JSHClass::BIT_FIELD1_OFFSET)); in SetPropertyInlinedProps()
|
D | stub_builder.cpp | 4891 GateRef hClass = LoadHClass(arrayObj); in BuildArgumentsListFastElements() local 4896 Branch(Int32Equal(hClass, argmentsClass), &hClassEqual, &exit); in BuildArgumentsListFastElements() 4900 … GateRef result = GetPropertyInlinedProps(arrayObj, hClass, PropertyInlinedPropsOffset); in BuildArgumentsListFastElements()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_stubs.cpp | 922 GateRef hClass = LoadHClass(arrayObj); in DECLARE_BUILTINS() local 924 … GateRef result = GetPropertyInlinedProps(arrayObj, hClass, PropertyInlinedPropsOffset); in DECLARE_BUILTINS()
|