Lines Matching full:op
34 void ICRuntime::UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateLoadHandler() argument
45 if (op.IsElement()) { in UpdateLoadHandler()
46 if (!op.IsFound() && hclass->IsDictionaryElement()) { in UpdateLoadHandler()
51 if (!op.IsFound()) { in UpdateLoadHandler()
54 handlerValue = LoadHandler::LoadProperty(thread_, op); in UpdateLoadHandler()
56 handlerValue = PrototypeHandler::LoadPrototype(thread_, op, hclass); in UpdateLoadHandler()
58 } else if (!op.IsOnPrototype()) { in UpdateLoadHandler()
59 handlerValue = LoadHandler::LoadProperty(thread_, op); in UpdateLoadHandler()
65 handlerValue = PrototypeHandler::LoadPrototype(thread_, op, hclass); in UpdateLoadHandler()
71 } else if (op.IsElement()) { in UpdateLoadHandler()
82 void ICRuntime::UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateStoreHandler() argument
92 ASSERT(op.IsFound()); in UpdateStoreHandler()
94 if (op.IsTSHClass()) { in UpdateStoreHandler()
96 handlerValue = StoreTSHandler::StoreAOT(thread_, op, hclass); in UpdateStoreHandler()
97 } else if (op.IsTransition()) { in UpdateStoreHandler()
98 ASSERT(!op.IsElement()); in UpdateStoreHandler()
99 if (op.IsOnPrototype()) { in UpdateStoreHandler()
101 handlerValue = TransWithProtoHandler::StoreTransition(thread_, op, hclass); in UpdateStoreHandler()
103 handlerValue = TransitionHandler::StoreTransition(thread_, op); in UpdateStoreHandler()
105 } else if (op.IsOnPrototype()) { in UpdateStoreHandler()
111 handlerValue = PrototypeHandler::StorePrototype(thread_, op, hclass); in UpdateStoreHandler()
113 handlerValue = StoreHandler::StoreProperty(thread_, op); in UpdateStoreHandler()
118 } else if (op.IsElement()) { in UpdateStoreHandler()
168 ObjectOperator op(GetThread(), receiver, key); in LoadMiss() local
169 auto result = JSHandle<JSTaggedValue>(thread_, JSObject::GetProperty(GetThread(), &op)); in LoadMiss()
170 if (!op.IsFound() && kind == ICKind::NamedGlobalTryLoadIC) { in LoadMiss()
181 if (!op.IsFastMode()) { in LoadMiss()
186 UpdateLoadHandler(op, key, receiver); in LoadMiss()
215 ObjectOperator op(GetThread(), receiver, key); in StoreMiss() local
216 if (!op.IsFound()) { in StoreMiss()
219 op.SetAttr(attr); in StoreMiss()
224 bool success = JSObject::SetProperty(&op, value, true); in StoreMiss()
232 if (!op.IsFastMode()) { in StoreMiss()
237 UpdateStoreHandler(op, key, receiver); in StoreMiss()