Searched refs:instOfHandler (Results 1 - 6 of 6) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
H A D | slow_runtime_stub.h | 70 JSTaggedValue instOfHandler);
|
H A D | slow_runtime_stub.cpp | 367 JSTaggedValue instOfHandler) in InstanceofByHandler() 374 JSHandle<JSTaggedValue> instOfHandle(thread, instOfHandler); in InstanceofByHandler() 366 InstanceofByHandler(JSThread *thread, JSTaggedValue target, JSTaggedValue object, JSTaggedValue instOfHandler) InstanceofByHandler() argument
|
H A D | interpreter-inl.cpp | 2229 // 2. Let instOfHandler be GetMethod(target, @@hasInstance). in RunInternal() 2235 JSTaggedValue instOfHandler = JSTaggedValue::Hole(); in RunInternal() local 2239 instOfHandler = ICRuntimeStub::TryLoadICByName(thread, target, firstValue, secondValue); in RunInternal() 2241 if (LIKELY(!instOfHandler.IsHole())) { in RunInternal() 2242 res = SlowRuntimeStub::InstanceofByHandler(thread, target, object, instOfHandler); in RunInternal() 2250 instOfHandler = ICRuntimeStub::LoadICByName(thread, profileTypeArray, target, key, slotId); in RunInternal() 2254 res = SlowRuntimeStub::InstanceofByHandler(thread, target, object, instOfHandler); in RunInternal()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 142 JSHandle<JSTaggedValue> instOfHandler) in RuntimeInstanceofByHandler() 144 // 3. ReturnIfAbrupt(instOfHandler). in RuntimeInstanceofByHandler() 146 // 4. If instOfHandler is not undefined, then in RuntimeInstanceofByHandler() 147 if (!instOfHandler->IsUndefined()) { in RuntimeInstanceofByHandler() 148 // a. Return ! ToBoolean(? Call(instOfHandler, target, «object»)). in RuntimeInstanceofByHandler() 151 JSTaggedValue instOf = instOfHandler.GetTaggedValue(); in RuntimeInstanceofByHandler() 155 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, instOfHandler, target, in RuntimeInstanceofByHandler() 140 RuntimeInstanceofByHandler(JSThread *thread, JSHandle<JSTaggedValue> target, JSHandle<JSTaggedValue> object, JSHandle<JSTaggedValue> instOfHandler) RuntimeInstanceofByHandler() argument
|
H A D | runtime_stubs.h | 174 JSHandle<JSTaggedValue> instOfHandler);
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_object.cpp | 2171 // 2. Let instOfHandler be GetMethod(target, @@hasInstance). in InstanceOf() 2172 JSHandle<JSTaggedValue> instOfHandler = FastGetMethod(thread, target, vm->GetGlobalEnv()->GetHasInstanceSymbol()); in InstanceOf() local 2174 // 3. ReturnIfAbrupt(instOfHandler). in InstanceOf() 2177 // 4. If instOfHandler is not undefined, then in InstanceOf() 2178 if (!instOfHandler->IsUndefined()) { in InstanceOf() 2179 // a. Return ! ToBoolean(? Call(instOfHandler, target, «object»)). in InstanceOf() 2182 EcmaInterpreter::NewRuntimeCallInfo(thread, instOfHandler, target, undefined, 1); in InstanceOf()
|
Completed in 45 milliseconds