Lines Matching refs:objHandle

380                 JSHandle<JSObject> objHandle(thread, receiver);
382 ElementsKind oldKind = objHandle->GetJSHClass()->GetElementsKind();
383 auto actualValue = JSHClass::ConvertOrTransitionWithRep(thread, objHandle,
385 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
386 receiver = objHandle.GetTaggedValue();
480 JSHandle<JSObject> objHandle(thread, receiver);
481 ElementsKind oldKind = objHandle->GetJSHClass()->GetElementsKind();
482 auto actualValue = JSHClass::ConvertOrTransitionWithRep(thread, objHandle,
484 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
485 receiver = objHandle.GetTaggedValue();
486 hclass = objHandle->GetClass();
541 JSHandle<JSObject> objHandle(thread, receiver);
542 ElementsKind oldKind = objHandle->GetJSHClass()->GetElementsKind();
543 auto actualValue = JSHClass::ConvertOrTransitionWithRep(thread, objHandle,
545 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
546 receiver = objHandle.GetTaggedValue();
547 receiverHClass = objHandle->GetClass();
557 JSHandle<JSObject> objHandle(thread, receiver);
567 AddPropertyByName(thread, objHandle, keyHandle, valueHandle, attr);
875 PropertyAttributes ObjectFastOperator::AddPropertyByName(JSThread *thread, JSHandle<JSObject> objHandle,
882 if ((objHandle->IsJSArray() || objHandle->IsTypedArray()) &&
884 objHandle->GetJSHClass()->SetHasConstructor(true);
886 int32_t nextInlinedPropsIndex = objHandle->GetJSHClass()->GetNextInlinedPropsIndex();
892 ElementsKind oldKind = objHandle->GetJSHClass()->GetElementsKind();
893 JSHClass::AddProperty(thread, objHandle, keyHandle, attr, rep);
894 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
895 oldKind = objHandle->GetJSHClass()->GetElementsKind();
896 auto actualValue = JSHClass::ConvertOrTransitionWithRep(thread, objHandle, keyHandle, valueHandle, attr);
897 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
899 objHandle->SetPropertyInlinedProps<true>(thread, nextInlinedPropsIndex, valueHandle.GetTaggedValue());
901 objHandle->SetPropertyInlinedProps<false>(thread, nextInlinedPropsIndex, actualValue.value);
906 JSMutableHandle<TaggedArray> array(thread, objHandle->GetProperties());
912 objHandle->SetProperties(thread, array.GetTaggedValue());
917 uint32_t nonInlinedProps = static_cast<uint32_t>(objHandle->GetJSHClass()->GetNextNonInlinedPropsIndex());
919 uint32_t numberOfProps = objHandle->GetJSHClass()->NumberOfProps();
922 JSHandle<NameDictionary> dict(JSObject::TransitionToDictionary(thread, objHandle));
926 objHandle->SetProperties(thread, newDict);
932 uint32_t maxNonInlinedFastPropsCapacity = objHandle->GetNonInlinedFastPropsCapacity();
938 objHandle->SetProperties(thread, array.GetTaggedValue());
941 attr.SetOffset(nonInlinedProps + objHandle->GetJSHClass()->GetInlinedProperties());
944 ElementsKind oldKind = objHandle->GetJSHClass()->GetElementsKind();
945 JSHClass::AddProperty(thread, objHandle, keyHandle, attr, rep);
946 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
947 oldKind = objHandle->GetJSHClass()->GetElementsKind();
948 auto actualValue = JSHClass::ConvertOrTransitionWithRep(thread, objHandle, keyHandle, valueHandle, attr);
949 JSObject::TryMigrateToGenericKindForJSObject(thread, objHandle, oldKind);
959 objHandle->SetProperties(thread, newDict);
972 JSHandle<JSObject> objHandle(thread, holder);
973 return accessor->CallInternalGet(thread, objHandle);
975 JSHandle<JSTaggedValue> objHandle(thread, receiver);
976 return JSObject::CallGetter(thread, accessor, objHandle);
985 JSHandle<JSTaggedValue> objHandle(thread, receiver);
989 bool success = JSObject::CallSetter(thread, *accessor, objHandle, valueHandle, true);