Lines Matching refs:receiver

898                                 JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, uint32_t accessorMethodId)
902 if (receiver->GetPrototype().IsNull()) {
905 return AddTranstionObjectInfo(bcOffset, receiver, hold, holdTra, accessor);
909 int32_t bcOffset, JSHClass *receiver, JSHClass *hold, JSHClass *holdTra, PGOSampleType accessorMethod)
911 ptManager_->RecordAndGetHclassIndexForJIT(receiver);
914 PGOObjectInfo info(ProfileType::CreateJITType(), receiver, hold, holdTra, accessorMethod);
919 void JITProfiler::AddBuiltinsInfo(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver,
922 if (receiver->IsJSArray()) {
923 auto type = receiver->GetObjectType();
924 auto elementsKind = receiver->GetElementsKind();
930 } else if (receiver->IsTypedArray()) {
931 JSType jsType = receiver->GetObjectType();
936 auto type = receiver->GetObjectType();
948 bool JITProfiler::AddBuiltinsInfoByNameInInstance(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver)
951 auto type = receiver->GetObjectType();
953 auto entry = ctorEntries.find(receiver);
965 bool receiverIsPrototype = receiver->IsPrototype();
966 exceptRecvHClass = thread->GetArrayInstanceHClass(receiver->GetElementsKind(), receiverIsPrototype);
968 exceptRecvHClass = receiver;
973 if (exceptRecvHClass != receiver) {
975 // query the receiver on the global constants.
978 if (exceptRecvHClass == receiver) {
988 AddBuiltinsInfo(abcId, bcOffset, receiver, receiver);
992 bool JITProfiler::AddBuiltinsInfoByNameInProt(ApEntityId abcId, int32_t bcOffset, JSHClass *receiver, JSHClass *hold)
994 auto type = receiver->GetObjectType();
1002 bool receiverIsPrototype = receiver->IsPrototype();
1003 exceptRecvHClass = thread->GetArrayInstanceHClass(receiver->GetElementsKind(), receiverIsPrototype);
1005 exceptRecvHClass = receiver;
1015 if ((exceptRecvHClass != receiver) ||
1023 if (JITProfiler::IsJSHClassNotEqual(receiver, hold, exceptRecvHClass, exceptRecvHClassOnHeap, exceptHoldHClass,
1027 } else if (exceptRecvHClass != receiver || exceptHoldHClass != hold) {
1034 AddBuiltinsInfo(abcId, bcOffset, receiver, receiver);
1038 bool JITProfiler::IsJSHClassNotEqual(JSHClass *receiver, JSHClass *hold, JSHClass *exceptRecvHClass,
1044 return ((exceptRecvHClass != receiver && exceptRecvHClassOnHeap != receiver) ||