Home
last modified time | relevance | path

Searched refs:handlerInfo (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub-inl.h199 auto handlerInfo = static_cast<uint32_t>(handler.GetInt()); in StoreICWithHandler() local
200 if (HandlerBase::IsField(handlerInfo)) { in StoreICWithHandler()
201 StoreField(thread, JSObject::Cast(receiver.GetTaggedObject()), value, handlerInfo); in StoreICWithHandler()
204 … ASSERT(HandlerBase::IsAccessor(handlerInfo) || HandlerBase::IsInternalAccessor(handlerInfo)); in StoreICWithHandler()
205 auto accessor = LoadFromField(JSObject::Cast(holder.GetTaggedObject()), handlerInfo); in StoreICWithHandler()
243 JSTaggedValue handlerInfo = prototypeHandler->GetHandlerInfo(); in StorePrototype() local
244 return StoreICWithHandler(thread, receiver, holder, value, handlerInfo); in StorePrototype()
260 JSTaggedValue handlerInfo = storeTSHandler->GetHandlerInfo(); in StoreWithTS() local
261 auto handlerInfoInt = static_cast<uint32_t>(handlerInfo.GetInt()); in StoreWithTS()
277 uint32_t handlerInfo = 0; in StoreWithTransition() local
[all …]
Dic_handler.h215 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StoreTransition() local
216 handler->SetHandlerInfo(thread, handlerInfo); in StoreTransition()
244 JSHandle<JSTaggedValue> handlerInfo = LoadHandler::LoadProperty(thread, op); in LoadPrototype() local
246 handler->SetHandlerInfo(thread, handlerInfo); in LoadPrototype()
259 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StorePrototype() local
260 handler->SetHandlerInfo(thread, handlerInfo); in StorePrototype()
292 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StoreTransition() local
293 handler->SetHandlerInfo(thread, handlerInfo); in StoreTransition()
326 JSHandle<JSTaggedValue> handlerInfo = StoreHandler::StoreProperty(thread, op); in StoreAOT() local
327 handler->SetHandlerInfo(thread, handlerInfo); in StoreAOT()
Dic_runtime_stub.h55 static inline JSTaggedValue LoadFromField(JSObject *receiver, uint32_t handlerInfo);
73 JSTaggedValue value, JSTaggedValue handlerInfo);
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_handler_test.cpp269 JSHandle<JSTaggedValue> handlerInfo(thread, handler->GetHandlerInfo()); in HWTEST_F_L0() local
270 EXPECT_EQ(HandlerBase::GetOffset(handlerInfo->GetInt()), 2); in HWTEST_F_L0()
Dic_runtime_stub_test.cpp532 uint32_t handlerInfo = 0U; in HWTEST_F_L0() local
533 KindBit::Set<uint32_t>(HandlerKind::ELEMENT, &handlerInfo); in HWTEST_F_L0()
534 IsJSArrayBit::Set<uint32_t>(true, &handlerInfo); in HWTEST_F_L0()
543 …b::StoreElement(thread, *handleArrObj, hanldeIntKey, JSTaggedValue(3), JSTaggedValue(handlerInfo)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.cpp1450 GateRef StubBuilder::LoadFromField(GateRef receiver, GateRef handlerInfo) in LoadFromField() argument
1460 GateRef index = HandlerBaseGetOffset(handlerInfo); in LoadFromField()
1461 …Branch(HandlerBaseIsInlinedProperty(handlerInfo), &handlerInfoIsInlinedProps, &handlerInfoNotInlin… in LoadFromField()
1477 GateRef rep = HandlerBaseGetRep(handlerInfo); in LoadFromField()
1595 GateRef handlerInfo = GetInt32OfTInt(*handler); in LoadICWithHandler() local
1596 Branch(IsField(handlerInfo), &handlerInfoIsField, &handlerInfoNotField); in LoadICWithHandler()
1599 result = LoadFromField(*holder, handlerInfo); in LoadICWithHandler()
1604 Branch(IsNonExist(handlerInfo), &handlerInfoIsNonExist, &handlerInfoNotNonExist); in LoadICWithHandler()
1608 GateRef accessor = LoadFromField(*holder, handlerInfo); in LoadICWithHandler()
1731 GateRef handlerInfo = GetInt32OfTInt(*varHandler); in ICStoreElement() local
[all …]
Dstub_builder.h461 GateRef LoadFromField(GateRef receiver, GateRef handlerInfo);
471 GateRef value, GateRef handlerInfo, ProfileOperation callback);