/arkcompiler/ets_runtime/ecmascript/tests/ |
D | object_operator_first_test.cpp | 61 ObjectOperator objectOperator1(thread, handleValue1); in HWTEST_F_L0() 62 ObjectOperator objectOperator2(thread, handleValue2); in HWTEST_F_L0() 77 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0() 90 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0() 103 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0() 116 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0() 129 ObjectOperator objectOperator(thread, handleValue); in HWTEST_F_L0() 136 objectOperator.SetIndex(ObjectOperator::NOT_FOUND_INDEX); in HWTEST_F_L0() 145 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0() 158 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0() [all …]
|
D | object_operator_second_test.cpp | 81 ObjectOperator objectOperator1(thread, handleKey, type); in HWTEST_F_L0() 86 ObjectOperator objectOperator2(thread, handleKey, type); in HWTEST_F_L0() 100 ObjectOperator objectOperator1(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 103 ObjectOperator objectOperator2(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 117 ObjectOperator objectOperator1(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 120 ObjectOperator objectOperator2(thread, handleHolder, handleKey, type); in HWTEST_F_L0() 132 ObjectOperator objectOperator1(thread, handleHolder, handleReceiver, type); in HWTEST_F_L0() 135 ObjectOperator objectOperator2(thread, handleHolder, handleReceiver, type); in HWTEST_F_L0() 147 ObjectOperator objectOperator1(thread, handleHolder, index, type); in HWTEST_F_L0() 150 ObjectOperator objectOperator2(thread, handleHolder, index, type); in HWTEST_F_L0() [all …]
|
D | object_operator_third_test.cpp | 84 ObjectOperator objectOperator(thread, handleKey); in HWTEST_F_L0() 124 ObjectOperator objectOperator(thread, handleGlobalObject, handleKey); in HWTEST_F_L0() 162 ObjectOperator objectOperator1(thread, handleKey); in HWTEST_F_L0() 175 ObjectOperator objectOperator2(thread, handleKey); in HWTEST_F_L0() 196 ObjectOperator objectOperator1(thread, handleArrObj, elementIndex); in HWTEST_F_L0() 206 ObjectOperator objectOperator2(thread, JSHandle<JSTaggedValue>(handleObject), elementIndex); in HWTEST_F_L0() 230 ObjectOperator objectOperator(thread, JSHandle<JSTaggedValue>(handleObject1), elementIndex); in HWTEST_F_L0() 261 ObjectOperator objectOperator(thread, handleGlobalObject, handleKey); in HWTEST_F_L0() 288 ObjectOperator objectOperator(thread, handleObject, handleKey); in HWTEST_F_L0() 323 ObjectOperator objectOperator1(thread, JSHandle<JSTaggedValue>(handleObject1), index); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | object_operator.cpp | 39 void ObjectOperator::HandleKey(const JSHandle<JSTaggedValue> &key) in HandleKey() 95 void ObjectOperator::UpdateHolder() in UpdateHolder() 105 void ObjectOperator::UpdateIsTSHClass() in UpdateIsTSHClass() 117 void ObjectOperator::StartLookUp(OperatorType type) in StartLookUp() 128 void ObjectOperator::StartGlobalLookUp(OperatorType type) in StartGlobalLookUp() 139 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &key, OperatorType t… in ObjectOperator() function in panda::ecmascript::ObjectOperator 148 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSObject> &holder, const JSHandle<J… in ObjectOperator() function in panda::ecmascript::ObjectOperator 156 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, in ObjectOperator() function in panda::ecmascript::ObjectOperator 164 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, uint32_t in… in ObjectOperator() function in panda::ecmascript::ObjectOperator 174 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, in ObjectOperator() function in panda::ecmascript::ObjectOperator [all …]
|
D | object_operator.h | 34 class ObjectOperator final { 36 ObjectOperator() = default; 38 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &key, 41 …ObjectOperator(JSThread *thread, const JSHandle<JSObject> &holder, const JSHandle<JSTaggedValue> &… 44 …ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, const JSHandle<JSTaggedVal… 47 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, 51 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, uint32_t index, 54 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, 57 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, 68 NO_COPY_SEMANTIC(ObjectOperator); [all …]
|
D | filter_helper.h | 35 class ObjectOperator; variable
|
D | js_object.cpp | 335 ObjectOperator op(thread, receiver, lengthKey, OperatorType::OWN); in IsArrayLengthWritable() 608 ObjectOperator op(thread, objValue, i, OperatorType::OWN); in GetAllElementKeysByFilter() 609 bool bIgnore = FilterHelper::IgnoreKeyByFilter<ObjectOperator>(op, filter); in GetAllElementKeysByFilter() 756 ObjectOperator op(thread, key); in GlobalSetProperty() 795 ObjectOperator op(thread, obj, receiver, key); in SetProperty() 805 ObjectOperator op(thread, obj, key); in SetProperty() 816 ObjectOperator op(thread, obj, key); in SetProperty() 825 ObjectOperator op(thread, obj, index); in SetProperty() 829 bool JSObject::SetPropertyForDataDescriptorProxy(JSThread *thread, ObjectOperator *op, in SetPropertyForDataDescriptorProxy() 859 bool JSObject::SetPropertyForDataDescriptor(ObjectOperator *op, const JSHandle<JSTaggedValue> &valu… in SetPropertyForDataDescriptor() [all …]
|
D | js_object.h | 37 class ObjectOperator; variable 513 …static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const Property… 742 friend class ObjectOperator; 754 static JSTaggedValue GetProperty(JSThread *thread, ObjectOperator *op); 755 … static bool SetProperty(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, bool mayThrow); 766 static JSTaggedValue ShouldGetValueFromBox(ObjectOperator *op); 777 …static bool ValidateDataDescriptorWhenConfigurable(ObjectOperator *op, const PropertyDescriptor &d… 779 … static bool SetPropertyForDataDescriptor(ObjectOperator *op, const JSHandle<JSTaggedValue> &value, 781 static bool SetPropertyForDataDescriptorProxy(JSThread *thread, ObjectOperator *op,
|
D | js_object-inl.h | 452 inline JSTaggedValue JSObject::ShouldGetValueFromBox(ObjectOperator *op) in ShouldGetValueFromBox()
|
D | object_fast_operator-inl.h | 495 ObjectOperator::UpdateDetector(thread, receiver, key); in SetPropertyByValue()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_runtime.h | 28 class ObjectOperator; variable 39 …void UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedVal… 42 …void UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedVa… 59 ObjectOperator ConstructOp(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, in ConstructOp() 62 ObjectOperator op(GetThread(), receiver, key, in ConstructOp()
|
D | ic_runtime.cpp | 36 void ICRuntime::UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateLoadHandler() 114 void ICRuntime::UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateStoreHandler() 190 ObjectOperator op(GetThread(), receiver, key); in LoadValueMiss() 202 op = ObjectOperator(GetThread(), receiver, key); in LoadValueMiss() 245 ObjectOperator op(GetThread(), receiver, key); in LoadMiss() 249 op = ObjectOperator(GetThread(), receiver, key); in LoadMiss() 288 ObjectOperator op(GetThread(), receiver, key); in LoadTypedArrayValueMiss() 291 op = ObjectOperator(GetThread(), receiver, key); in LoadTypedArrayValueMiss() 337 ObjectOperator op = ConstructOp(receiver, key, value, isOwn); in StoreMiss() 389 ObjectOperator op(GetThread(), receiver, key); in StoreTypedArrayValueMiss()
|
D | ic_handler.h | 182 …static inline JSHandle<JSTaggedValue> LoadProperty(const JSThread *thread, const ObjectOperator &o… in LoadProperty() 237 …static inline JSHandle<JSTaggedValue> LoadElement(const JSThread *thread, const ObjectOperator &op) in LoadElement() 279 …atic inline JSHandle<JSTaggedValue> StoreProperty(const JSThread *thread, const ObjectOperator &op) in StoreProperty() 344 …ic inline JSHandle<JSTaggedValue> StoreTransition(const JSThread *thread, const ObjectOperator &op) in StoreTransition() 373 …atic inline JSHandle<JSTaggedValue> LoadPrototype(const JSThread *thread, const ObjectOperator &op, in LoadPrototype() 387 …tic inline JSHandle<JSTaggedValue> StorePrototype(const JSThread *thread, const ObjectOperator &op, in StorePrototype() 420 …ic inline JSHandle<JSTaggedValue> StoreTransition(const JSThread *thread, const ObjectOperator &op, in StoreTransition() 454 static inline JSHandle<JSTaggedValue> StoreAOT(const JSThread *thread, const ObjectOperator &op, in StoreAOT()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | ic_handler_test.cpp | 66 ObjectOperator handleOp(thread, handleKey); in HWTEST_F_L0() 90 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0() 96 ObjectOperator handleOp2(thread, handleHolder, handleKey); in HWTEST_F_L0() 158 ObjectOperator handleOp1(thread, handleKey); in HWTEST_F_L0() 165 ObjectOperator handleOp2(thread, handleReceiver, handleKey); in HWTEST_F_L0() 197 ObjectOperator handleOp(thread, handleHolder, handleKey); in HWTEST_F_L0() 227 ObjectOperator handleOp1(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0() 228 ObjectOperator handleOp2(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0() 266 ObjectOperator handleOp(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
|
D | ic_runtime_test.cpp | 81 ObjectOperator handleOp1(thread, handleKeyWithElement); in HWTEST_F_L0() 88 ObjectOperator handleOp2(thread, handleKeyWithString); in HWTEST_F_L0() 124 ObjectOperator handleOp1(thread, handleKeyWithElement); in HWTEST_F_L0() 134 ObjectOperator handleOp2(thread, handleReceiver, handleKeyWithString, OperatorType::OWN); in HWTEST_F_L0()
|