/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_runtime.cpp | 27 JSHandle<JSTaggedValue> receiver) in UpdateLoadHandler() 38 if (receiver->IsNumber()) { in UpdateLoadHandler() 39 receiver = JSHandle<JSTaggedValue>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_NUMBER, receiver)); in UpdateLoadHandler() 40 } else if (receiver->IsString()) { in UpdateLoadHandler() 41 originhclass = JSHandle<JSHClass>(thread_, receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler() 42 receiver = JSHandle<JSTaggedValue>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_STRING, receiver)); in UpdateLoadHandler() 44 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler() 91 void ICRuntime::UpdateLoadStringHandler(JSHandle<JSTaggedValue> receiver) in UpdateLoadStringHandler() argument 26 UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> receiver) UpdateLoadHandler() argument 101 UpdateTypedArrayHandler(JSHandle<JSTaggedValue> receiver) UpdateTypedArrayHandler() argument 112 UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> receiver) UpdateStoreHandler() argument 155 TraceIC([[maybe_unused]] JSHandle<JSTaggedValue> receiver, [[maybe_unused]] JSHandle<JSTaggedValue> key) const TraceIC() argument 174 LoadValueMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) LoadValueMiss() argument 192 ObjectOperator op(GetThread(), receiver, key); LoadValueMiss() local 225 LoadMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) LoadMiss() argument 257 ObjectOperator op(GetThread(), receiver, key); LoadMiss() local 283 LoadOrdinaryGet(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) LoadOrdinaryGet() argument 291 CallPrivateGetter(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) CallPrivateGetter() argument 302 LoadTypedArrayValueMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) LoadTypedArrayValueMiss() argument 319 ObjectOperator op(GetThread(), receiver, key); LoadTypedArrayValueMiss() local 342 StoreMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> value, bool isOwn) StoreMiss() argument 395 ObjectOperator op(GetThread(), receiver, key, isOwn ? OperatorType::OWN : OperatorType::PROTOTYPE_CHAIN); StoreMiss() local 431 CallPrivateSetter(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> value) CallPrivateSetter() argument 444 StoreTypedArrayValueMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> value) StoreTypedArrayValueMiss() argument 467 ObjectOperator op(GetThread(), receiver, key); StoreTypedArrayValueMiss() local [all...] |
H A D | ic_runtime_stub.h | 33 JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId); 34 static inline JSTaggedValue TryLoadICByName(JSThread *thread, JSTaggedValue receiver, 36 static inline JSTaggedValue TryStoreICByName(JSThread *thread, JSTaggedValue receiver, 40 JSTaggedValue receiver, JSTaggedValue key, 43 static inline JSTaggedValue LoadICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, 45 static inline JSTaggedValue LoadICWithElementHandler(JSThread *thread, JSTaggedValue receiver, 47 static inline JSTaggedValue StoreICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, 49 static inline void StoreWithTransition(JSThread *thread, JSObject *receiver, JSTaggedValue value, 51 static inline JSTaggedValue StoreTransWithProto(JSThread *thread, JSObject *receiver, 53 static inline JSTaggedValue StoreWithTS(JSThread *thread, JSTaggedValue receiver, [all...] |
H A D | ic_runtime_stub-inl.h | 87 ARK_INLINE JSTaggedValue ICRuntimeStub::TryLoadICByName(JSThread *thread, JSTaggedValue receiver, in TryLoadICByName() argument 91 if (LIKELY(receiver.IsHeapObject())) { in TryLoadICByName() 92 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByName() 94 return LoadICWithHandler(thread, receiver, receiver, secondValue); in TryLoadICByName() 98 return LoadICWithHandler(thread, receiver, receiver, cachedHandler); in TryLoadICByName() 100 } else if (receiver.IsNumber()) { in TryLoadICByName() 104 return LoadICWithHandler(thread, receiver, receiver, secondValu in TryLoadICByName() 110 LoadICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId) LoadICByName() argument 117 TryLoadICByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue firstValue, JSTaggedValue secondValue) TryLoadICByValue() argument 148 LoadICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId) LoadICByValue() argument 155 TryStoreICByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue firstValue, JSTaggedValue secondValue, JSTaggedValue value) TryStoreICByValue() argument 177 StoreICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId) StoreICByValue() argument 185 StoreOwnICByValue(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId) StoreOwnICByValue() argument 193 TryStoreICByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue firstValue, JSTaggedValue secondValue, JSTaggedValue value) TryStoreICByName() argument 211 StoreICByName(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId) StoreICByName() argument 219 StoreICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, JSTaggedValue value, JSTaggedValue handler) StoreICWithHandler() argument 265 StorePrototype(JSThread *thread, JSTaggedValue receiver, JSTaggedValue value, JSTaggedValue handler) StorePrototype() argument 287 StoreWithTS(JSThread *thread, JSTaggedValue receiver, JSTaggedValue value, JSTaggedValue handler) StoreWithTS() argument 311 StoreWithTransition(JSThread *thread, JSObject *receiver, JSTaggedValue value, JSTaggedValue handler, bool withPrototype) StoreWithTransition() argument 366 StoreTransWithProto(JSThread *thread, JSObject *receiver, JSTaggedValue value, JSTaggedValue handler) StoreTransWithProto() argument 384 StoreField(JSThread *thread, JSObject *receiver, JSTaggedValue value, uint64_t handler) StoreField() argument 397 LoadFromField(JSObject *receiver, uint64_t handlerInfo) LoadFromField() argument 431 LoadPrototype(JSThread *thread, JSTaggedValue receiver, JSTaggedValue handler) LoadPrototype() argument 449 LoadICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, JSTaggedValue handler) LoadICWithHandler() argument 479 LoadICWithElementHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedValue handler, JSTaggedValue key) LoadICWithElementHandler() argument 495 LoadElement(JSObject *receiver, JSTaggedValue key) LoadElement() argument 511 LoadStringElement(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) LoadStringElement() argument 532 LoadTypedArrayElement(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) LoadTypedArrayElement() argument 548 StoreElement(JSThread *thread, JSObject *receiver, JSTaggedValue key, JSTaggedValue value, JSTaggedValue handler) StoreElement() argument 607 StoreTypedArrayElement(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value) StoreTypedArrayElement() argument 647 LoadMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId, ICKind kind) LoadMiss() argument 658 LoadValueMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId, ICKind kind) LoadValueMiss() argument 669 StoreMiss(JSThread *thread, ProfileTypeInfo *profileTypeInfo, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, uint32_t slotId, ICKind kind, bool isOwn) StoreMiss() argument [all...] |
H A D | ic_runtime.h | 40 void UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> receiver); 41 void UpdateLoadStringHandler(JSHandle<JSTaggedValue> receiver); 42 void UpdateTypedArrayHandler(JSHandle<JSTaggedValue> receiver); 43 void UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> receiver); 60 void TraceIC(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) const; 77 JSTaggedValue LoadMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key); 78 JSTaggedValue LoadValueMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key); 79 JSTaggedValue LoadTypedArrayValueMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key); 81 JSTaggedValue LoadOrdinaryGet(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key); 82 inline JSTaggedValue CallPrivateGetter(JSHandle<JSTaggedValue> receiver, JSHandl [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | object_fast_operator.h | 52 JSTaggedValue receiver, JSTaggedValue key); 55 static inline JSTaggedValue TryFastHasProperty(JSThread *thread, JSTaggedValue receiver, 59 static inline JSTaggedValue TryFastGetPropertyByValue(JSThread *thread, JSTaggedValue receiver, 63 static inline JSTaggedValue TryFastGetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index); 66 static inline JSTaggedValue TryGetPropertyByNameThroughCacheAtLocal(JSThread *thread, JSTaggedValue receiver, 70 static inline JSTaggedValue GetPropertyByName(JSThread *thread, JSTaggedValue receiver, 75 static inline JSTaggedValue TrySetPropertyByNameThroughCacheAtLocal(JSThread *thread, JSTaggedValue receiver, 79 static inline JSTaggedValue SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, 83 static inline JSTaggedValue GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index); 86 static inline JSTaggedValue SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_ [all...] |
H A D | object_operator.cpp | 167 const JSHandle<JSTaggedValue> &receiver, const JSHandle<JSTaggedValue> &key, in ObjectOperator() 169 : thread_(thread), holder_(thread, holder.GetTaggedValue()), receiver_(thread, receiver.GetTaggedValue()) in ObjectOperator() 177 ObjectOperator::ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, in ObjectOperator() argument 179 : thread_(thread), holder_(thread, receiver), receiver_(thread, receiver), key_(thread, name) in ObjectOperator() 198 ObjectOperator::ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, in ObjectOperator() argument 200 : thread_(thread), receiver_(thread, receiver), key_(thread, name) in ObjectOperator() 204 void ObjectOperator::FastAdd(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, in FastAdd() argument 207 ObjectOperator op(thread, receiver, name, attr); in FastAdd() 212 void ObjectOperator::UpdateDetectorOnSetPrototype(const JSThread *thread, JSTaggedValue receiver) in UpdateDetectorOnSetPrototype() argument 166 ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &holder, const JSHandle<JSTaggedValue> &receiver, const JSHandle<JSTaggedValue> &key, OperatorType type) ObjectOperator() argument 311 UpdateDetector(const JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) UpdateDetector() argument 598 TransitionForAttributeChanged(const JSHandle<JSObject> &receiver, PropertyAttributes attr) TransitionForAttributeChanged() argument 640 UpdateValueAndDetails(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, PropertyAttributes attr, bool attrChanged) UpdateValueAndDetails() argument 665 UpdateDataValue(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, bool isInternalAccessor, bool mayThrow) UpdateDataValue() argument 763 WriteDataProperty(const JSHandle<JSObject> &receiver, const PropertyDescriptor &desc) WriteDataProperty() argument 879 AddProperty(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, PropertyAttributes attr) AddProperty() argument 908 WriteElement(const JSHandle<JSObject> &receiver, JSHandle<JSTaggedValue> value) const WriteElement() argument [all...] |
H A D | object_fast_operator-inl.h | 54 #define CHECK_IS_ON_PROTOTYPE_CHAIN(receiver, holder) \ 55 if (UNLIKELY((receiver) != (holder))) { \ 60 JSTaggedValue receiver, JSTaggedValue key) in HasOwnProperty() 63 if (!receiver.IsHeapObject() || !(receiver.IsRegularObject())) { in HasOwnProperty() 73 JSHandle<JSObject> receiverObj(thread, receiver); in HasOwnProperty() 86 NumberDictionary::Cast(JSObject::Cast(receiver)->GetElements().GetTaggedObject()); in HasOwnProperty() 103 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty() 105 ASSERT(!TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject())->IsDictionaryMode()); in HasOwnProperty() 111 TaggedArray *array = TaggedArray::Cast(JSObject::Cast(receiver) in HasOwnProperty() 59 HasOwnProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) HasOwnProperty() argument 123 TryFastHasProperty(JSThread *thread, JSTaggedValue receiver, JSMutableHandle<JSTaggedValue> keyHandle) TryFastHasProperty() argument 170 TryFastGetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSMutableHandle<JSTaggedValue> keyHandle) TryFastGetPropertyByValue() argument 205 TryFastGetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) TryFastGetPropertyByIndex() argument 223 TryGetPropertyByNameThroughCacheAtLocal(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) TryGetPropertyByNameThroughCacheAtLocal() argument 252 GetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, [[maybe_unused]]bool noAllocate, [[maybe_unused]]bool *isCallGetter) GetPropertyByName() argument 345 TrySetPropertyByNameThroughCacheAtLocal(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value) TrySetPropertyByNameThroughCacheAtLocal() argument 409 SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, SCheckMode sCheckMode) SetPropertyByName() argument 572 GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) GetPropertyByIndex() argument 633 SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTaggedValue value) SetPropertyByIndex() argument 717 GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) GetPropertyByValue() argument 743 SetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, SCheckMode sCheckMode) SetPropertyByValue() argument 775 FastSetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value, SCheckMode sCheckMode) FastSetPropertyByValue() argument 789 FastSetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTaggedValue value) FastSetPropertyByIndex() argument 801 FastGetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) FastGetPropertyByName() argument 820 FastGetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, SCheckMode sCheckMode) FastGetPropertyByValue() argument 832 FastGetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) FastGetPropertyByIndex() argument 964 CallGetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, JSTaggedValue value) CallGetter() argument 979 CallSetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue value, JSTaggedValue accessorValue) CallSetter() argument 994 ShouldCallSetter(JSTaggedValue receiver, JSTaggedValue holder, JSTaggedValue accessorValue, PropertyAttributes attr) ShouldCallSetter() argument 1031 FastGetTypeArrayProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, JSTaggedValue key, JSType jsType) FastGetTypeArrayProperty() argument 1059 FastSetTypeArrayProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, JSTaggedValue key, JSTaggedValue value, JSType jsType) FastSetTypeArrayProperty() argument 1086 GetContainerProperty(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSType jsType) GetContainerProperty() argument 1129 SetContainerProperty(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTaggedValue value, JSType jsType) SetContainerProperty() argument 1173 AddPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTaggedValue value) AddPropertyByIndex() argument 1239 FastGetPropertyByPorpsIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) FastGetPropertyByPorpsIndex() argument [all...] |
H A D | element_accessor.cpp | 22 JSTaggedValue ElementAccessor::Get(JSHandle<JSObject> receiver, uint32_t idx) in Get() argument 24 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in Get() 26 ElementsKind kind = receiver->GetClass()->GetElementsKind(); in Get() 38 JSTaggedValue ElementAccessor::Get(JSObject *receiver, uint32_t idx) in Get() argument 40 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in Get() 42 ElementsKind kind = receiver->GetClass()->GetElementsKind(); in Get() 63 bool ElementAccessor::IsDictionaryMode(JSHandle<JSObject> receiver) in IsDictionaryMode() argument 65 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in IsDictionaryMode() 69 bool ElementAccessor::IsDictionaryMode(JSObject *receiver) in IsDictionaryMode() argument 71 TaggedArray *elements = TaggedArray::Cast(receiver in IsDictionaryMode() 75 GetElementsLength(JSHandle<JSObject> receiver) GetElementsLength() argument 81 GetElementsLength(JSObject *receiver) GetElementsLength() argument [all...] |
H A D | js_stable_array.h | 30 static JSTaggedValue Push(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv); 31 static JSTaggedValue Push(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv); 32 static JSTaggedValue Pop(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv); 33 static JSTaggedValue Pop(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv); 34 static JSTaggedValue Splice(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start, 37 static JSTaggedValue Splice(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start, 40 static JSTaggedValue Shift(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv); 41 static JSTaggedValue Shift(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv); 42 static JSTaggedValue Join(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv); 58 static JSTaggedValue IndexOf(JSThread *thread, JSHandle<JSTaggedValue> receiver, 111 JSHandle<JSTaggedValue> receiver; global() member [all...] |
H A D | element_accessor.h | 28 static JSTaggedValue PUBLIC_API Get(JSHandle<JSObject> receiver, uint32_t idx); 29 static JSTaggedValue Get(JSObject *receiver, uint32_t idx); 33 static void Set(const JSThread *thread, JSHandle<JSObject> receiver, uint32_t idx, const JSHandle<T> &value, 39 static bool IsDictionaryMode(JSHandle<JSObject> receiver); 40 static bool IsDictionaryMode(JSObject *receiver); 42 static uint32_t GetElementsLength(JSHandle<JSObject> receiver); 43 static uint32_t GetElementsLength(JSObject *receiver);
|
H A D | object_operator.h | 51 const JSHandle<JSTaggedValue> &receiver, const JSHandle<JSTaggedValue> &key, 57 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, 60 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, 63 static void FastAdd(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name, 67 static void PUBLIC_API UpdateDetector(const JSThread *thread, JSTaggedValue receiver, JSTaggedValue key); 68 static void UpdateDetectorOnSetPrototype(const JSThread *thread, JSTaggedValue receiver); 313 bool UpdateDataValue(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, 317 JSHandle<JSObject> receiver(holder_); in WriteDataPropertyInHolder() 318 return WriteDataProperty(receiver, desc); in WriteDataPropertyInHolder() 320 bool WriteDataProperty(const JSHandle<JSObject> &receiver, cons in WriteDataPropertyInHolder() [all...] |
H A D | js_for_in_iterator.cpp | 24 bool JSForInIterator::IsEnumCacheValid(JSTaggedValue receiver, JSTaggedValue cachedHclass, EnumCacheKind kind) in IsEnumCacheValid() argument 27 JSHClass *hclass = receiver.GetTaggedObject()->GetClass(); in IsEnumCacheValid() 48 bool JSForInIterator::NeedCheckProperty(JSTaggedValue receiver) in NeedCheckProperty() argument 51 JSTaggedValue current = receiver; in NeedCheckProperty() 61 bool JSForInIterator::HasProperty(JSThread *thread, JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) in HasProperty() argument 63 JSMutableHandle<JSTaggedValue> current(thread, receiver.GetTaggedValue()); in HasProperty() 85 JSTaggedValue receiver = it->GetObject(); in NextInternal() local 88 if (IsEnumCacheValid(receiver, it->GetCachedHclass(), kind)) { in NextInternal() 95 if (!NeedCheckProperty(receiver)) { in NextInternal()
|
H A D | element_accessor-inl.h | 29 inline void ElementAccessor::Set(const JSThread *thread, JSHandle<JSObject> receiver, uint32_t idx, in Set() argument 33 ElementsKind oldKind = receiver->GetClass()->GetElementsKind(); in Set() 34 if (needTransition && JSHClass::TransitToElementsKind(thread, receiver, in Set() 36 ElementsKind newKind = receiver->GetClass()->GetElementsKind(); in Set() 38 Elements::MigrateArrayWithKind(thread, receiver, oldKind, newKind); in Set() 41 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in Set() 45 ElementsKind kind = receiver->GetClass()->GetElementsKind(); in Set()
|
H A D | js_stable_array.cpp | 29 JSTaggedValue JSStableArray::Push(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv) in Push() argument 33 uint32_t oldLength = receiver->GetArrayLength(); in Push() 35 JSHandle<JSObject> thisObjHandle(receiver); in Push() 37 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements().GetTaggedObject()); in Push() 39 elements = *JSObject::GrowElementsCapacity(thread, JSHandle<JSObject>::Cast(receiver), newLength, true); in Push() 46 receiver->SetArrayLength(thread, newLength); in Push() 51 JSTaggedValue JSStableArray::Push(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv) in Push() argument 55 uint32_t oldLength = receiver->GetArrayLength(); in Push() 57 JSHandle<JSObject> thisObjHandle(receiver); in Push() 59 TaggedArray *elements = TaggedArray::Cast(receiver in Push() 73 Pop(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv) Pop() argument 104 Pop(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv) Pop() argument 155 UpdateArrayCapacity(JSHandle<JSObject> &thisObjHandle, uint32_t &len, uint32_t &insertCount, uint32_t &actualDeleteCount, JSHandle<JSArray> &receiver, uint32_t &start, JSThread *thread, bool &needTransition, JSHandle<JSTaggedValue> &holeHandle, EcmaRuntimeCallInfo *argv, JSHandle<JSTaggedValue> &thisObjVal, JSHandle<JSTaggedValue> &lengthKey) UpdateArrayCapacity() argument 212 Splice(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start, uint32_t insertCount, uint32_t actualDeleteCount, JSHandle<JSObject> newArrayHandle, uint32_t len) Splice() argument 260 Splice(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start, uint32_t insertCount, uint32_t actualDeleteCount, JSHandle<JSObject> newArrayHandle, uint32_t len) Splice() argument 364 Shift(JSHandle<JSSharedArray> receiver, EcmaRuntimeCallInfo *argv) Shift() argument 392 Shift(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv) Shift() argument 480 Join(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv) Join() argument [all...] |
H A D | js_arguments.cpp | 56 const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver) in GetProperty() 61 return JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(args), key, receiver); in GetProperty() 65 const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver) in SetProperty() 69 return JSTaggedValue::SetProperty(thread, JSHandle<JSTaggedValue>::Cast(args), key, value, receiver); in SetProperty() 55 GetProperty(JSThread *thread, const JSHandle<JSArguments> &args, const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver) GetProperty() argument 64 SetProperty(JSThread *thread, const JSHandle<JSArguments> &args, const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, const JSHandle<JSTaggedValue> &receiver) SetProperty() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | access_object_stub_builder.h | 36 GateRef LoadObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, 38 GateRef DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef propKey); 39 GateRef StoreObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, GateRef value, 42 GateRef receiver, 48 GateRef receiver, 54 GateRef LoadObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, 56 GateRef StoreObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profileTypeInfo, 58 GateRef StoreOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value, GateRef profileTypeInfo, 60 GateRef DeprecatedLoadObjByValue(GateRef glue, GateRef receiver, GateRef key); 69 GateRef StOwnByIndex(GateRef glue, GateRef receiver, GateRe [all...] |
H A D | access_object_stub_builder.cpp | 24 GateRef AccessObjectStubBuilder::LoadObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, in LoadObjByName() argument 38 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId); in LoadObjByName() 43 result = GetPropertyByName(glue, receiver, propKey, callback, True()); in LoadObjByName() 55 CallRuntime(glue, RTSTUB_ID(LoadICByName), {profileTypeInfo, receiver, propKey, IntToTaggedInt(slotId)}); in LoadObjByName() 65 GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) in LoadPrivatePropertyByName() 78 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId); in LoadPrivatePropertyByName() 82 result = GetPropertyByName(glue, receiver, key, callback, True()); in LoadPrivatePropertyByName() 92 result = CallRuntime(glue, RTSTUB_ID(LoadICByName), {profileTypeInfo, receiver, key, IntToTaggedInt(slotId)}); in LoadPrivatePropertyByName() 102 GateRef AccessObjectStubBuilder::DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef propKey) in DeprecatedLoadObjByName() argument 112 BRANCH(TaggedIsHeapObject(receiver), in DeprecatedLoadObjByName() 64 LoadPrivatePropertyByName( GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) LoadPrivatePropertyByName() argument 130 StoreObjByName(GateRef glue, GateRef receiver, GateRef prop, const StringIdInfo &info, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StoreObjByName() argument 171 StorePrivatePropertyByName(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StorePrivatePropertyByName() argument 229 LoadObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) LoadObjByValue() argument 267 DeprecatedLoadObjByValue(GateRef glue, GateRef receiver, GateRef key) DeprecatedLoadObjByValue() argument 295 StoreObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StoreObjByValue() argument 332 StoreOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value, GateRef profileTypeInfo, GateRef slotId, ProfileOperation callback) StoreOwnByIndex() argument 391 GateRef receiver = 0; TryLoadGlobalByName() local 441 GateRef receiver = 0; TryStoreGlobalByName() local 503 GateRef receiver = 0; LoadGlobalVar() local 541 GateRef receiver = 0; StoreGlobalVar() local 568 StOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value) StOwnByIndex() argument 600 StOwnByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value) StOwnByValue() argument 632 StOwnByName(GateRef glue, GateRef receiver, GateRef key, GateRef value) StOwnByName() argument 664 StOwnByValueWithNameSet(GateRef glue, GateRef receiver, GateRef key, GateRef value) StOwnByValueWithNameSet() argument 709 StOwnByNameWithNameSet(GateRef glue, GateRef receiver, GateRef key, GateRef value) StOwnByNameWithNameSet() argument 754 StObjByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value) StObjByIndex() argument 780 LdObjByIndex(GateRef glue, GateRef receiver, GateRef index) LdObjByIndex() argument [all...] |
H A D | common_stubs.cpp | 61 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local 64 Return(DefineField(glue, receiver, propKey, acc)); in GenerateCircuit() 438 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local 440 Return(GetPropertyByIndex(glue, receiver, index, ProfileOperation())); in GenerateCircuit() 446 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local 449 Return(SetPropertyByIndex(glue, receiver, index, value, false)); in GenerateCircuit() 455 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local 458 Return(SetPropertyByIndex(glue, receiver, index, value, true)); in GenerateCircuit() 464 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local 471 Return(builder.LoadObjByName(glue, receiver, i in GenerateCircuit() 477 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 486 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 500 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 509 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 518 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 530 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 538 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 551 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 560 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 569 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 579 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 589 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 599 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 609 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 619 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 628 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 689 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 729 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 769 GateRef receiver = TaggedArgument(1); GenerateCircuit() local 807 GateRef receiver = TaggedArgument(1); GenerateCircuit() local [all...] |
H A D | typed_bytecode_lowering.cpp | 564 GateRef receiver = tacc.GetReceiver(); in LowerTypedLdObjByName() local 565 builder_.ObjectTypeCheck(false, receiver, in LowerTypedLdObjByName() 568 result = BuildNamedPropertyAccess(gate, receiver, receiver, tacc.GetAccessInfo(0).Plr()); in LowerTypedLdObjByName() 570 builder_.ProtoChangeMarkerCheck(receiver, frameState); in LowerTypedLdObjByName() 576 result = builder_.MonoLoadPropertyOnProto(receiver, plrGate, unsharedConstPoool, holderHClassIndex); in LowerTypedLdObjByName() 578 result = builder_.MonoCallGetterOnProto(gate, receiver, plrGate, unsharedConstPoool, holderHClassIndex); in LowerTypedLdObjByName() 605 // lookup from receiver for holder in LowerTypedLdObjByName() 607 // lookup from receiver for holder in LowerTypedLdObjByName() 650 GateRef receiver in LowerTypedLdPrivateProperty() local 688 GateRef receiver = tacc.GetReceiver(); LowerTypedStPrivateProperty() local 750 GateRef receiver = tacc.GetReceiver(); LowerTypedStObjByName() local 886 BuildNamedPropertyAccess( GateRef hir, GateRef receiver, GateRef holder, PropertyLookupResult plr) BuildNamedPropertyAccess() argument 899 BuildNamedPropertyAccess( GateRef hir, GateRef receiver, GateRef holder, GateRef value, PropertyLookupResult plr, uint32_t receiverHClassIndex) BuildNamedPropertyAccess() argument 981 GateRef receiver = tacc.GetReceiver(); TryLowerTypedLdObjByNameForGlobalsId() local 1036 GateRef receiver = tacc.GetReceiver(); TryLowerTypedLdobjBynameFromGloablBuiltin() local 1160 GateRef receiver = acc_.GetValueIn(gate, 2); TryLowerTypedLdObjByNameForBuiltinMethod() local 1212 GateRef receiver = tacc.GetReceiver(); TryLowerTypedStObjByIndexForBuiltin() local 1272 GateRef receiver = tacc.GetReceiver(); LoadStringByIndex() local 1288 GateRef receiver = tacc.GetReceiver(); LoadJSArrayByIndex() local 1320 GateRef receiver = tacc.GetReceiver(); LoadTypedArrayByIndex() local 1359 GateRef receiver = tacc.GetReceiver(); StoreJSArrayByIndex() local 1381 GateRef receiver = tacc.GetReceiver(); StoreTypedArrayByIndex() local [all...] |
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | fast_runtime_stub.h | 38 static inline JSTaggedValue GetGlobalOwnProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key); 40 static inline JSTaggedValue GetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key); 42 static inline JSTaggedValue GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key); 44 static inline JSTaggedValue GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index); 46 static inline JSTaggedValue SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, 49 static inline JSTaggedValue SetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, 52 static inline JSTaggedValue SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, 57 static inline JSTaggedValue CallGetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, 63 static inline JSTaggedValue CallSetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue value,
|
H A D | fast_runtime_stub-inl.h | 34 #define CHECK_IS_ON_PROTOTYPE_CHAIN(receiver, holder) \ 35 if (UNLIKELY((receiver) != (holder))) { \ 161 JSTaggedValue FastRuntimeStub::CallGetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue holder, in CallGetter() argument 164 return ObjectFastOperator::CallGetter(thread, receiver, holder, value); in CallGetter() 167 JSTaggedValue FastRuntimeStub::CallSetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue value, in CallSetter() argument 170 return ObjectFastOperator::CallSetter(thread, receiver, value, accessorValue); in CallSetter() 174 JSTaggedValue FastRuntimeStub::GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index) in GetPropertyByIndex() argument 176 return ObjectFastOperator::GetPropertyByIndex<status>(thread, receiver, index); in GetPropertyByIndex() 180 JSTaggedValue FastRuntimeStub::GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) in GetPropertyByValue() argument 182 return ObjectFastOperator::GetPropertyByValue<status>(thread, receiver, ke in GetPropertyByValue() 186 GetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) GetPropertyByName() argument 192 SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value) SetPropertyByName() argument 200 SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index, JSTaggedValue value) SetPropertyByIndex() argument 208 SetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key, JSTaggedValue value) SetPropertyByValue() argument 215 GetGlobalOwnProperty(JSThread *thread, JSTaggedValue receiver, JSTaggedValue key) GetGlobalOwnProperty() argument [all...] |
H A D | interpreter-inl.cpp | 2350 JSTaggedValue receiver = GET_VREG_VALUE(v0); in RunInternal() local 2351 if (receiver.IsJSObject() && !receiver.IsClassConstructor() && !receiver.IsClassPrototype()) { in RunInternal() 2359 receiver = GET_VREG_VALUE(v0); in RunInternal() 2361 (thread, receiver, propKey, value); in RunInternal() 2375 receiver = GET_VREG_VALUE(v0); // Maybe moved by GC in RunInternal() 2376 JSTaggedValue res = SlowRuntimeStub::StOwnByName(thread, receiver, propKey, value); in RunInternal() 2387 JSTaggedValue receiver = GET_VREG_VALUE(v0); in RunInternal() local 2388 if (receiver in RunInternal() 2484 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2547 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2610 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2672 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2824 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2862 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2938 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 2970 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 3012 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 3042 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5413 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5468 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5524 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5553 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5569 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5586 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5602 JSTaggedValue receiver = GET_ACC(); RunInternal() local 5625 JSTaggedValue receiver = GET_ACC(); RunInternal() local 5648 JSTaggedValue receiver = GET_ACC(); RunInternal() local 5672 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5696 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5725 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5754 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5782 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5838 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 5894 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 6323 JSTaggedValue receiver = GET_ACC(); RunInternal() local 6355 JSTaggedValue receiver = GET_ACC(); RunInternal() local 6385 JSTaggedValue receiver = GET_ACC(); RunInternal() local 6417 JSTaggedValue receiver = GET_ACC(); RunInternal() local 6445 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 6598 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 6635 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 6729 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 6768 JSTaggedValue receiver = GET_VREG_VALUE(v0); RunInternal() local 6923 JSTaggedValue receiver = GetThis(sp); RunInternal() local 6976 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7032 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7094 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7159 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7187 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7217 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7245 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7276 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7308 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7348 JSTaggedValue receiver = GetThis(sp); RunInternal() local 7380 JSTaggedValue receiver = GetThis(sp); RunInternal() local [all...] |
H A D | interpreter_assembly.cpp | 1935 JSTaggedValue receiver = GET_VREG_VALUE(v0); 1936 if (receiver.IsJSObject() && !receiver.IsClassConstructor() && !receiver.IsClassPrototype()) { 1944 receiver = GET_VREG_VALUE(v0); 1946 (thread, receiver, propKey, value); 1960 receiver = GET_VREG_VALUE(v0); // Maybe moved by GC 1961 JSTaggedValue res = SlowRuntimeStub::StOwnByName(thread, receiver, propKey, value); 2083 JSTaggedValue receiver = GET_VREG_VALUE(v0); 2085 if (receiver [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_arguments_test.cpp | 48 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local 49 EXPECT_TRUE(JSArguments::SetProperty(thread, arg, key, value, receiver)); in HWTEST_F_L0() 54 EXPECT_TRUE(JSArguments::SetProperty(thread, arg, key, value2, receiver)); in HWTEST_F_L0() 70 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local 71 JSArguments::SetProperty(thread, arg, key, value, receiver); in HWTEST_F_L0() 73 EXPECT_EQ(JSArguments::GetProperty(thread, JSHandle<JSArguments>(jsarg), key, receiver).GetValue()->GetInt(), 1); in HWTEST_F_L0() 76 JSArguments::SetProperty(thread, arg, key, value2, receiver); in HWTEST_F_L0() 91 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local 92 JSArguments::SetProperty(thread, arg, key, value, receiver); in HWTEST_F_L0() 111 JSHandle<JSTaggedValue> receiver in HWTEST_F_L0() local 132 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); HWTEST_F_L0() local [all...] |
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_profiler.cpp | 898 JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, uint32_t accessorMethodId) in AddObjectInfo() 902 if (receiver->GetPrototype().IsNull()) { in AddObjectInfo() 905 return AddTranstionObjectInfo(bcOffset, receiver, hold, holdTra, accessor); in AddObjectInfo() 909 int32_t bcOffset, JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, PGOSampleType accessorMethod) in AddTranstionObjectInfo() 911 ptManager_->RecordAndGetHclassIndexForJIT(receiver); in AddTranstionObjectInfo() 914 PGOObjectInfo info(ProfileType::CreateJITType(), receiver, hold, holdTra, accessorMethod); in AddTranstionObjectInfo() local 919 void JITProfiler::AddBuiltinsInfo(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, in AddBuiltinsInfo() argument 922 if (receiver->IsJSArray()) { in AddBuiltinsInfo() 923 auto type = receiver->GetObjectType(); in AddBuiltinsInfo() 924 auto elementsKind = receiver in AddBuiltinsInfo() 897 AddObjectInfo(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, uint32_t accessorMethodId) AddObjectInfo() argument 908 AddTranstionObjectInfo( int32_t bcOffset, JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, PGOSampleType accessorMethod) AddTranstionObjectInfo() argument 948 AddBuiltinsInfoByNameInInstance(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver) AddBuiltinsInfoByNameInInstance() argument 992 AddBuiltinsInfoByNameInProt(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold) AddBuiltinsInfoByNameInProt() argument 1038 IsJSHClassNotEqual(JSHClass *receiver, JSHClass *hold, JSHClass *exceptRecvHClass, JSHClass *exceptRecvHClassOnHeap, JSHClass *exceptHoldHClass, JSHClass *exceptPrototypeOfPrototypeHClass) IsJSHClassNotEqual() argument [all...] |