/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | property_box.h | 28 class PropertyBox : public TaggedObject { class 30 static PropertyBox *Cast(TaggedObject *object) in Cast() 33 return static_cast<PropertyBox *>(object); in Cast()
|
H A D | property_box.cpp | 19 void PropertyBox::Clear(const JSThread *thread) in Clear()
|
H A D | ic_runtime_stub-inl.h | 409 PropertyBox *cell = PropertyBox::Cast(handler.GetTaggedObject()); in LoadGlobal() 422 PropertyBox *cell = PropertyBox::Cast(handler.GetTaggedObject()); in StoreGlobal()
|
H A D | ic_handler.h | 408 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in LoadPrototype() 439 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in StorePrototype()
|
H A D | ic_runtime.cpp | 241 return PropertyBox::Cast(box.GetTaggedObject())->GetValue(); in LoadMiss()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | property_box_test.cpp | 51 * @tc.desc: Creating PropertyBox object through "NewPropertyBox" function,the Property value is exist,then calling 61 JSHandle<PropertyBox> handlePropertyBox = factory->NewPropertyBox(handleValue); in HWTEST_F_L0() 71 * @tc.desc: Creating PropertyBox object through "NewPropertyBox" function,this object call "SetValue" function 82 JSHandle<PropertyBox> handlePropertyBox = JSHandle<PropertyBox>::Cast(handlePropertyBoxVal); in HWTEST_F_L0()
|
H A D | ic_runtime_stub_test.cpp | 72 JSHandle<PropertyBox> handleBoxValue = factory->NewPropertyBox(handleValue); in HWTEST_F_L0() 100 JSHandle<PropertyBox> handleBoxValue = in HWTEST_F_L0() 132 JSHandle<PropertyBox> handlePropertyBox = factory->NewPropertyBox(handleValue); in HWTEST_F_L0() 336 JSHandle<PropertyBox> boxHandler = factory->NewPropertyBox(keyHandle); in HWTEST_F_L0() 360 // handler is PropertyBox and then call StoreGlobal function. in HWTEST_F_L0() 394 JSHandle<PropertyBox> boxHandler = factory->NewPropertyBox(keyHandle); in HWTEST_F_L0() 422 // handler is PropertyBox and then call LoadGlobal function. in HWTEST_F_L0() 525 JSHandle<PropertyBox> handlerValue = factory->NewPropertyBox(handleUndefinedVal); in HWTEST_F_L0()
|
H A D | ic_handler_test.cpp | 157 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0() 160 // test op value is PropertyBox in HWTEST_F_L0() 194 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | global_dictionary-inl.h | 50 PropertyBox *GlobalDictionary::GetBox(int entry) const in GetBox() 53 return PropertyBox::Cast(Get(index).GetTaggedObject()); in GetBox() 212 PropertyBox *box = dictHandle->GetBox(entry); in InvalidatePropertyBox() 227 JSHandle<PropertyBox> newBox = factory->NewPropertyBox(oldValue); in InvalidateAndReplaceEntry() 228 PropertyBox *box = dictHandle->GetBox(entry); in InvalidateAndReplaceEntry()
|
H A D | object_operator.cpp | 188 value_.Update(PropertyBox::Cast(value_->GetTaggedObject())->GetValue()); in FastGetValue() 441 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ToPropertyDescriptor() 450 JSHandle<PropertyBox> cell(value_); in ToPropertyDescriptor() 645 valueAccessor = PropertyBox::Cast(valueAccessor.GetTaggedObject())->GetValue(); in UpdateValueAndDetails() 708 PropertyBox *cell = dict->GetBox(GetIndex()); in UpdateDataValue() 796 PropertyBox *cell = PropertyBox::Cast(val.GetTaggedObject()); in WriteDataProperty() 837 valueAccessor = PropertyBox::Cast(valueAccessor.GetTaggedObject())->GetValue(); in WriteDataProperty() 1043 // Add PropertyBox to global dictionary in AddPropertyInternal() 1044 JSHandle<PropertyBox> cellHandl in AddPropertyInternal() [all...] |
H A D | global_dictionary.h | 59 inline PropertyBox *GetBox(int entry) const;
|
H A D | js_object.h | 338 PropertyBox::Cast(value_.GetTaggedValue().GetTaggedObject())->GetValue()); in GetValue() 739 PropertyBox* GetGlobalPropertyBox(JSThread *thread, const std::string& key); 785 PropertyBox* GetGlobalPropertyBox(JSTaggedValue key);
|
H A D | js_object.cpp | 459 PropertyBox* box = dictHandle->GetBox(index); in DeletePropertyInternal() 1134 PropertyBox* JSObject::GetGlobalPropertyBox(JSTaggedValue key) in GetGlobalPropertyBox() 1145 PropertyBox* JSObject::GetGlobalPropertyBox(JSThread *thread, const std::string& key) in GetGlobalPropertyBox() 1235 PropertyBox *cell = PropertyBox::Cast(desc.GetValue().GetTaggedValue().GetTaggedObject()); in GlobalGetOwnProperty() 1258 PropertyBox *cell = PropertyBox::Cast(val.GetTaggedObject()); in OrdinaryGetOwnProperty() 1465 JSTaggedValue value = PropertyBox::Cast(valueHandle->GetTaggedObject())->GetValue(); in ValidateAndApplyPropertyDescriptor()
|
H A D | global_env_constants.cpp | 204 factory->NewSEcmaReadOnlyHClass(hClass, PropertyBox::SIZE, JSType::PROPERTY_BOX)); in InitSharedRootsClasses()
|
H A D | js_object-inl.h | 469 result = PropertyBox::Cast(result.GetTaggedObject())->GetValue(); in ShouldGetValueFromBox()
|
H A D | object_factory.h | 172 class PropertyBox; 394 JSHandle<PropertyBox> NewPropertyBox(const JSHandle<JSTaggedValue> &name);
|
H A D | dump.cpp | 321 return "PropertyBox"; in DumpJSType() 1008 PropertyBox::Cast(obj)->Dump(os); in DumpObject() 3187 void PropertyBox::Dump(std::ostream &os) const in Dump() 4430 PropertyBox::Cast(obj)->DumpForSnapshot(vec); in DumpObject() 5603 void PropertyBox::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | object_operator_second_test.cpp | 210 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0() 222 PropertyBox *resultCell = resultDict->GetBox(objectOperator.GetIndex()); in HWTEST_F_L0()
|
H A D | object_operator_third_test.cpp | 83 JSHandle<PropertyBox> cellHandle1 = factory->NewPropertyBox(handleValue1); in HWTEST_F_L0() 84 JSHandle<PropertyBox> cellHandle2 = factory->NewPropertyBox(handleValue2); in HWTEST_F_L0() 346 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
|
H A D | dump_test.cpp | 1090 CHECK_DUMP_FIELDS(TaggedObject::TaggedObjectSize(), PropertyBox::SIZE, 1U); in HWTEST_F_L0() 1091 JSHandle<PropertyBox> PropertyBox = factory->NewPropertyBox(globalConst->GetHandledEmptyArray()); in HWTEST_F_L0() local 1092 DUMP_FOR_HANDLE(PropertyBox); in HWTEST_F_L0()
|
H A D | object_operator_first_test.cpp | 397 JSHandle<PropertyBox> cellHandle = factory->NewPropertyBox(handleKey); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_builder-inl.h | 50 using PropertyBox = panda::ecmascript::PropertyBox; 1969 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in IsInvalidPropertyBox() 1976 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in IsAccessorPropertyBox() 1983 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in GetValueFromPropertyBox() 1989 GateRef valueOffset = IntPtr(PropertyBox::VALUE_OFFSET); in SetValueToPropertyBox() 3337 return Load(VariableType::JS_ANY(), box, IntPtr(PropertyBox::VALUE_OFFSET)); in GetValueFromGlobalDictionary()
|
H A D | access_object_stub_builder.cpp | 405 result = Load(VariableType::JS_ANY(), record, IntPtr(PropertyBox::VALUE_OFFSET)); in TryLoadGlobalByName()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | object_xray.h | 504 PropertyBox::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
H A D | debugger_api.cpp | 388 result = PropertyBox::Cast(globalRec.GetTaggedObject())->GetValue(); in GetGlobalValue()
|