Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 25 of 100) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp37 JSHandle<JSTaggedValue> receiver) in UpdateLoadHandler() argument
46 if (receiver->IsNumber()) { in UpdateLoadHandler()
47 receiver = thread_->GetEcmaVM()->GetGlobalEnv()->GetNumberFunction(); in UpdateLoadHandler()
49 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadHandler()
73 if (IsGlobalLoadIC(GetICKind()) || receiver->IsString()) { in UpdateLoadHandler()
93 void ICRuntime::UpdateLoadStringHandler(JSHandle<JSTaggedValue> receiver) in UpdateLoadStringHandler() argument
99 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateLoadStringHandler()
103 void ICRuntime::UpdateTypedArrayHandler(JSHandle<JSTaggedValue> receiver) in UpdateTypedArrayHandler() argument
109 LoadHandler::LoadTypedArrayElement(thread_, JSHandle<JSTypedArray>(receiver)); in UpdateTypedArrayHandler()
110 JSHandle<JSHClass> hclass(GetThread(), receiver->GetTaggedObject()->GetClass()); in UpdateTypedArrayHandler()
[all …]
Dic_runtime_stub.h33 … 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, JSTaggedVa…
45 static inline JSTaggedValue LoadICWithElementHandler(JSThread *thread, JSTaggedValue receiver,
47 …static inline JSTaggedValue StoreICWithHandler(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
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 …]
Dic_runtime_stub-inl.h86 ARK_INLINE JSTaggedValue ICRuntimeStub::TryLoadICByName(JSThread *thread, JSTaggedValue receiver, in TryLoadICByName() argument
90 if (LIKELY(receiver.IsHeapObject())) { in TryLoadICByName()
91 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByName()
93 return LoadICWithHandler(thread, receiver, receiver, secondValue); in TryLoadICByName()
97 return LoadICWithHandler(thread, receiver, receiver, cachedHandler); in TryLoadICByName()
99 } else if (receiver.IsNumber()) { in TryLoadICByName()
102 return LoadICWithHandler(thread, receiver, receiver, secondValue); in TryLoadICByName()
109 … JSTaggedValue receiver, JSTaggedValue key, uint32_t slotId) in LoadICByName() argument
112 return LoadMiss(thread, profileTypeInfo, receiver, key, slotId, ICKind::NamedLoadIC); in LoadICByName()
115 ARK_INLINE JSTaggedValue ICRuntimeStub::TryLoadICByValue(JSThread *thread, JSTaggedValue receiver, … in TryLoadICByValue() argument
[all …]
Dic_runtime.h39 …adHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> receiver);
40 void UpdateLoadStringHandler(JSHandle<JSTaggedValue> receiver);
41 void UpdateTypedArrayHandler(JSHandle<JSTaggedValue> receiver);
42 …reHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> receiver);
59 ObjectOperator ConstructOp(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, in ConstructOp() argument
62 ObjectOperator op(GetThread(), receiver, key, in ConstructOp()
65 bool enumerable = !(receiver->IsClassPrototype() || receiver->IsClassConstructor()); in ConstructOp()
73 void TraceIC(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) const;
90 JSTaggedValue LoadMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key);
91 JSTaggedValue LoadValueMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key);
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dobject_operator.cpp175 … const JSHandle<JSTaggedValue> &receiver, const JSHandle<JSTaggedValue> &key, in ObjectOperator() argument
177 …: thread_(thread), holder_(thread, holder.GetTaggedValue()), receiver_(thread, receiver.GetTaggedV… in ObjectOperator()
185 ObjectOperator::ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue… in ObjectOperator() argument
187 : thread_(thread), holder_(thread, receiver), receiver_(thread, receiver), key_(thread, name) in ObjectOperator()
206 ObjectOperator::ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue… in ObjectOperator() argument
208 : thread_(thread), receiver_(thread, receiver), key_(thread, name) in ObjectOperator()
212 void ObjectOperator::FastAdd(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &… in FastAdd() argument
215 ObjectOperator op(thread, receiver, name, attr); in FastAdd()
220 void ObjectOperator::UpdateDetectorOnSetPrototype(const JSThread *thread, JSTaggedValue receiver) in UpdateDetectorOnSetPrototype() argument
227 JSHClass *hclass = receiver.GetTaggedObject()->GetClass(); in UpdateDetectorOnSetPrototype()
[all …]
Dobject_fast_operator-inl.h44 #define CHECK_IS_ON_PROTOTYPE_CHAIN(receiver, holder) \ argument
45 if (UNLIKELY((receiver) != (holder))) { \
50 … JSTaggedValue receiver, JSTaggedValue key) in HasOwnProperty() argument
53 if (!receiver.IsHeapObject() || !(receiver.IsRegularObject())) { in HasOwnProperty()
63 JSHandle<JSObject> receiverObj(thread, receiver); in HasOwnProperty()
76 NumberDictionary::Cast(JSObject::Cast(receiver)->GetElements().GetTaggedObject()); in HasOwnProperty()
93 auto *hclass = receiver.GetTaggedObject()->GetClass(); in HasOwnProperty()
95 …ASSERT(!TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject())->IsDictiona… in HasOwnProperty()
101 …TaggedArray *array = TaggedArray::Cast(JSObject::Cast(receiver)->GetProperties().GetTaggedObject()… in HasOwnProperty()
113 JSTaggedValue ObjectFastOperator::GetPropertyByName(JSThread *thread, JSTaggedValue receiver, in GetPropertyByName() argument
[all …]
Dobject_fast_operator.h45 … JSTaggedValue receiver, JSTaggedValue key);
47 static inline JSTaggedValue GetPropertyByName(JSThread *thread, JSTaggedValue receiver,
51 …static inline JSTaggedValue SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
55 …static inline JSTaggedValue GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t …
58 …static inline JSTaggedValue SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t …
62 …static inline JSTaggedValue GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
65 …static inline JSTaggedValue SetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
68 …static inline bool FastSetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedValue …
71 …static inline bool FastSetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t index,
74 …static inline JSTaggedValue FastGetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTagg…
[all …]
Delement_accessor-inl.h29 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, value, extraKind)) { in Set()
35 ElementsKind newKind = receiver->GetClass()->GetElementsKind(); in Set()
36 Elements::MigrateArrayWithKind(thread, receiver, oldKind, newKind); in Set()
39 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in Set()
43 ElementsKind kind = receiver->GetClass()->GetElementsKind(); in Set()
58 inline void ElementAccessor::Set(const JSThread *thread, JSHandle<JSObject> receiver, uint32_t idx, in Set() argument
62 ElementsKind oldKind = receiver->GetClass()->GetElementsKind(); in Set()
64 …JSHClass::TransitToElementsKind(thread, receiver, JSHandle<JSTaggedValue>(thread, value), extraKin… in Set()
[all …]
Delement_accessor.cpp26 JSTaggedValue ElementAccessor::Get(JSHandle<JSObject> receiver, uint32_t idx) in Get() argument
28 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in Get()
30 ElementsKind kind = receiver->GetClass()->GetElementsKind(); in Get()
42 JSTaggedValue ElementAccessor::Get(JSObject *receiver, uint32_t idx) in Get() argument
44 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in Get()
46 ElementsKind kind = receiver->GetClass()->GetElementsKind(); in Get()
58 bool ElementAccessor::IsDictionaryMode(JSHandle<JSObject> receiver) in IsDictionaryMode() argument
60 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in IsDictionaryMode()
64 bool ElementAccessor::IsDictionaryMode(JSObject *receiver) in IsDictionaryMode() argument
66 TaggedArray *elements = TaggedArray::Cast(receiver->GetElements()); in IsDictionaryMode()
[all …]
Delement_accessor.h28 static JSTaggedValue Get(JSHandle<JSObject> receiver, uint32_t idx);
29 static JSTaggedValue Get(JSObject *receiver, uint32_t idx);
32 …static void Set(const JSThread *thread, JSHandle<JSObject> receiver, uint32_t idx, const JSHandle<…
36 …static void Set(const JSThread *thread, JSHandle<JSObject> receiver, uint32_t idx, const JSTaggedV…
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);
Dobject_operator.h48 const JSHandle<JSTaggedValue> &receiver, const JSHandle<JSTaggedValue> &key,
54 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name,
57 ObjectOperator(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name,
60 static void FastAdd(JSThread *thread, const JSTaggedValue &receiver, const JSTaggedValue &name,
64 static void UpdateDetector(const JSThread *thread, JSTaggedValue receiver, JSTaggedValue key);
65 static void UpdateDetectorOnSetPrototype(const JSThread *thread, JSTaggedValue receiver);
290 bool UpdateDataValue(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value,
294 JSHandle<JSObject> receiver(holder_); in WriteDataPropertyInHolder()
295 return WriteDataProperty(receiver, desc); in WriteDataPropertyInHolder()
297 bool WriteDataProperty(const JSHandle<JSObject> &receiver, const PropertyDescriptor &desc);
[all …]
Djs_stable_array.h28 static JSTaggedValue Push(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv);
29 static JSTaggedValue Pop(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv);
30 … static JSTaggedValue Splice(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv, uint32_t start,
33 static JSTaggedValue Shift(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv);
34 static JSTaggedValue Join(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv);
47 static JSTaggedValue IndexOf(JSThread *thread, JSHandle<JSTaggedValue> receiver,
49 static JSTaggedValue LastIndexOf(JSThread *thread, JSHandle<JSTaggedValue> receiver,
62 static JSTaggedValue At(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv);
63 static JSTaggedValue With(JSThread *thread, JSHandle<JSArray> receiver,
65 static JSTaggedValue ToSpliced(JSHandle<JSArray> receiver, EcmaRuntimeCallInfo *argv,
[all …]
Djs_for_in_iterator.cpp25 bool JSForInIterator::IsEnumCacheValid(JSTaggedValue receiver, JSTaggedValue cachedHclass, EnumCach… in IsEnumCacheValid() argument
28 JSHClass *hclass = receiver.GetTaggedObject()->GetClass(); in IsEnumCacheValid()
49 bool JSForInIterator::NeedCheckProperty(JSTaggedValue receiver) in NeedCheckProperty() argument
52 JSTaggedValue current = receiver; in NeedCheckProperty()
62 bool JSForInIterator::HasProperty(JSThread *thread, JSHandle<JSTaggedValue> receiver, JSHandle<JSTa… in HasProperty() argument
64 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()
/arkcompiler/ets_runtime/ecmascript/compiler/
Daccess_object_stub_builder.cpp24 GateRef AccessObjectStubBuilder::LoadObjByName(GateRef glue, GateRef receiver, GateRef prop, const … in LoadObjByName() argument
37 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId); in LoadObjByName()
42 result = GetPropertyByName(glue, receiver, propKey, callback, True()); in LoadObjByName()
49 { profileTypeInfo, receiver, propKey, IntToTaggedInt(slotId) }); in LoadObjByName()
60 GateRef AccessObjectStubBuilder::DeprecatedLoadObjByName(GateRef glue, GateRef receiver, GateRef pr… in DeprecatedLoadObjByName() argument
70 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); in DeprecatedLoadObjByName()
73 result = GetPropertyByName(glue, receiver, propKey, ProfileOperation(), True()); in DeprecatedLoadObjByName()
79 … { Undefined(), receiver, propKey, IntToTaggedInt(Int32(0xFF)) }); // 0xFF: invalid slot id in DeprecatedLoadObjByName()
88 GateRef AccessObjectStubBuilder::StoreObjByName(GateRef glue, GateRef receiver, GateRef prop, const… in StoreObjByName() argument
101 builder.SetParameters(glue, receiver, profileTypeInfo, value, slotId, callback); in StoreObjByName()
[all …]
Daccess_object_stub_builder.h36 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, Gat…
41 …GateRef LoadObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef profileTypeInfo, GateR…
43 …GateRef StoreObjByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value, GateRef profil…
45 …GateRef StoreOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value, GateRef prof…
47 GateRef DeprecatedLoadObjByValue(GateRef glue, GateRef receiver, GateRef key);
56 GateRef StOwnByIndex(GateRef glue, GateRef receiver, GateRef index, GateRef value);
57 GateRef StOwnByValue(GateRef glue, GateRef receiver, GateRef key, GateRef value);
58 GateRef StOwnByName(GateRef glue, GateRef receiver, GateRef key, GateRef value);
[all …]
Dcommon_stubs.cpp321 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local
323 Return(GetPropertyByIndex(glue, receiver, index, ProfileOperation())); in GenerateCircuit()
329 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local
332 Return(SetPropertyByIndex(glue, receiver, index, value, false)); in GenerateCircuit()
338 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local
341 Return(SetPropertyByIndex(glue, receiver, index, value, true)); in GenerateCircuit()
347 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local
354 …Return(builder.LoadObjByName(glue, receiver, id, info, profileTypeInfo, slotId, ProfileOperation()… in GenerateCircuit()
360 GateRef receiver = TaggedArgument(1); in GenerateCircuit() local
363 Return(builder.DeprecatedLoadObjByName(glue, receiver, key)); in GenerateCircuit()
[all …]
Dtyped_bytecode_lowering.cpp477 GateRef receiver = tacc.GetReceiver(); in LowerTypedLdObjByName() local
478 builder_.ObjectTypeCheck(acc_.GetGateType(gate), true, receiver, in LowerTypedLdObjByName()
481 … result = BuildNamedPropertyAccess(gate, receiver, receiver, tacc.GetAccessInfo(0).Plr()); in LowerTypedLdObjByName()
483 builder_.ProtoChangeMarkerCheck(receiver, frameState); in LowerTypedLdObjByName()
489 … result = builder_.MonoLoadPropertyOnProto(receiver, plrGate, jsFunc, holderHClassIndex); in LowerTypedLdObjByName()
491 … result = builder_.MonoCallGetterOnProto(gate, receiver, plrGate, jsFunc, holderHClassIndex); in LowerTypedLdObjByName()
585 GateRef receiver = tacc.GetReceiver(); in LowerTypedStObjByName() local
586 builder_.ObjectTypeCheck(acc_.GetGateType(gate), true, receiver, in LowerTypedStObjByName()
724 GateRef hir, GateRef receiver, GateRef holder, PropertyLookupResult plr) in BuildNamedPropertyAccess() argument
731 result = builder_.CallGetter(hir, receiver, holder, plrGate); in BuildNamedPropertyAccess()
[all …]
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dfast_runtime_stub.h38 …static inline JSTaggedValue GetGlobalOwnProperty(JSThread *thread, JSTaggedValue receiver, JSTagge…
40 …static inline JSTaggedValue GetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
42 …static inline JSTaggedValue GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
44 …static inline JSTaggedValue GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t …
46 …static inline JSTaggedValue SetPropertyByName(JSThread *thread, JSTaggedValue receiver, JSTaggedVa…
49 …static inline JSTaggedValue SetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTaggedV…
52 …static inline JSTaggedValue SetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_t …
57 …static inline JSTaggedValue CallGetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue hol…
63 …static inline JSTaggedValue CallSetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue val…
Dfast_runtime_stub-inl.h34 #define CHECK_IS_ON_PROTOTYPE_CHAIN(receiver, holder) \ argument
35 if (UNLIKELY((receiver) != (holder))) { \
161 JSTaggedValue FastRuntimeStub::CallGetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue h… in CallGetter() argument
164 return ObjectFastOperator::CallGetter(thread, receiver, holder, value); in CallGetter()
167 JSTaggedValue FastRuntimeStub::CallSetter(JSThread *thread, JSTaggedValue receiver, JSTaggedValue v… in CallSetter() argument
170 return ObjectFastOperator::CallSetter(thread, receiver, value, accessorValue); in CallSetter()
174 JSTaggedValue FastRuntimeStub::GetPropertyByIndex(JSThread *thread, JSTaggedValue receiver, uint32_… in GetPropertyByIndex() argument
176 return ObjectFastOperator::GetPropertyByIndex<status>(thread, receiver, index); in GetPropertyByIndex()
180 JSTaggedValue FastRuntimeStub::GetPropertyByValue(JSThread *thread, JSTaggedValue receiver, JSTagge… in GetPropertyByValue() argument
182 return ObjectFastOperator::GetPropertyByValue<status>(thread, receiver, key); in GetPropertyByValue()
[all …]
Dinterpreter-inl.h2320 JSTaggedValue receiver = GET_VREG_VALUE(v0); in RunInternal() local
2321 … if (receiver.IsJSObject() && !receiver.IsClassConstructor() && !receiver.IsClassPrototype()) { in RunInternal()
2329 receiver = GET_VREG_VALUE(v0); in RunInternal()
2331 (thread, receiver, propKey, value); in RunInternal()
2345 receiver = GET_VREG_VALUE(v0); // Maybe moved by GC in RunInternal()
2346 JSTaggedValue res = SlowRuntimeStub::StOwnByName(thread, receiver, propKey, value); in RunInternal()
2357 JSTaggedValue receiver = GET_VREG_VALUE(v0); in RunInternal() local
2358 … if (receiver.IsJSObject() && !receiver.IsClassConstructor() && !receiver.IsClassPrototype()) { in RunInternal()
2366 receiver = GET_VREG_VALUE(v0); in RunInternal()
2368 (thread, receiver, propKey, value); in RunInternal()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dpgo_type_infer.cpp136 GateRef receiver = acc_.GetValueIn(gate, 2); // 2: acc or this object in InferLdObjByName() local
138 UpdateTypeForRWOp(gate, receiver, propIndex); in InferLdObjByName()
148 GateRef receiver = Circuit::NullGate(); in InferStObjByName() local
152 receiver = argAcc_.GetFrameArgsIn(gate, FrameArgIdx::THIS_OBJECT); in InferStObjByName()
156 receiver = acc_.GetValueIn(gate, 2); // 2: receiver in InferStObjByName()
159 UpdateTypeForRWOp(gate, receiver, propIndex); in InferStObjByName()
171 GateRef receiver = acc_.GetValueIn(gate, 1); in InferStOwnByName() local
173 UpdateTypeForRWOp(gate, receiver, propIndex); in InferStOwnByName()
196 GateRef receiver = Circuit::NullGate(); in InferAccessObjByValue() local
204 receiver = acc_.GetValueIn(gate, 1); // 1: receiver in InferAccessObjByValue()
[all …]
Dinitialization_analysis.cpp82 GateRef receiver = acc_.GetValueIn(gate, 2); // 2: index of receiver in CollectInitializationType() local
83 GateType receiverType = acc_.GetGateType(receiver); in CollectInitializationType()
88 if (!CheckIsThisObject(receiver) && receiverGT != classType_.GetGTRef()) { in CollectInitializationType()
108 GateRef receiver = acc_.GetValueIn(gate, 2); // 2: index of receiver in CollectInitializationInfo() local
109 if (!CheckIsThisObject(receiver)) { in CollectInitializationInfo()
124 bool InitializationAnalysis::CheckIsThisObject(GateRef receiver) const in CheckIsThisObject()
126 return IsThisFromArg(receiver) || IsThisFromSuperCall(receiver); in CheckIsThisObject()
222 GateRef receiver = acc_.GetValueIn(gate, 2); // 2: index of receiver in CheckLdObjByName() local
223 if (!CheckIsThisObject(receiver)) { in CheckLdObjByName()
235 GateRef receiver = acc_.GetValueIn(gate, 1); // 1: index of receiver in CheckLdObjByIndexOrValue() local
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_arguments_test.cpp71 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local
72 EXPECT_TRUE(JSArguments::SetProperty(thread, arg, key, value, receiver)); in HWTEST_F_L0()
77 EXPECT_TRUE(JSArguments::SetProperty(thread, arg, key, value2, receiver)); in HWTEST_F_L0()
93 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local
94 JSArguments::SetProperty(thread, arg, key, value, receiver); in HWTEST_F_L0()
96 …EXPECT_EQ(JSArguments::GetProperty(thread, JSHandle<JSArguments>(jsarg), key, receiver).GetValue()… in HWTEST_F_L0()
99 JSArguments::SetProperty(thread, arg, key, value2, receiver); in HWTEST_F_L0()
114 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local
115 JSArguments::SetProperty(thread, arg, key, value, receiver); in HWTEST_F_L0()
134 JSHandle<JSTaggedValue> receiver = JSHandle<JSTaggedValue>::Cast(jsarg); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.h145 …ranstionObjectInfo(ProfileType recordType, EntityId methodId, int32_t bcOffset, JSHClass *receiver,
147 void UpdatePrototypeChainInfo(JSHClass *receiver, JSHClass *holder, PGOObjectInfo &info);
150 JSHClass *receiver, JSHClass *hold, JSHClass *holdTra);
153 …EntityId abcId, const CString &recordName, EntityId methodId, int32_t bcOffset, JSHClass *receiver,
188 return reinterpret_cast<uintptr_t>(&receiver); in GetReceiverAddr()
198 return receiver.GetTaggedObject()->GetClass(); in GetReceiverHClass()
208 receiver = JSTaggedValue::Cast(hclass); in SetReceiver()
218 receiver = value; in SetReceiver()
228 receiver = JSTaggedValue::Cast(value); in SetReceiver()
238 return receiver; in GetReceiver()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.cpp21 … const JSHandle<JSTaggedValue> &receiver) in InternalizeJsonProperty() argument
44 RecurseAndApply(thread, obj, keyName, receiver); in InternalizeJsonProperty()
54 RecurseAndApply(thread, obj, keyName, receiver); in InternalizeJsonProperty()
62 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, receiver, objHandle, undef… in InternalizeJsonProperty()
71 … const JSHandle<JSTaggedValue> &name, const JSHandle<JSTaggedValue> &receiver) in RecurseAndApply() argument
74 JSHandle<JSTaggedValue> value = InternalizeJsonProperty(thread, holder, name, receiver); in RecurseAndApply()

1234