Home
last modified time | relevance | path

Searched refs:constructorPrototype (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_function.cpp354 JSMutableHandle<JSTaggedValue> constructorPrototype(thread, JSTaggedValue::Undefined()); in OrdinaryHasInstance() local
360 constructorPrototype.Update(ctorProtoOrHclass); in OrdinaryHasInstance()
363 constructorPrototype.Update(ctorProto); in OrdinaryHasInstance()
366constructorPrototype.Update(JSTaggedValue::GetProperty(thread, constructor, prototypeString).GetVa… in OrdinaryHasInstance()
369constructorPrototype.Update(JSTaggedValue::GetProperty(thread, constructor, prototypeString).GetVa… in OrdinaryHasInstance()
377 if (!constructorPrototype->IsECMAObject()) { in OrdinaryHasInstance()
390 if (JSTaggedValue::SameValue(object, constructorPrototype)) { in OrdinaryHasInstance()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_hcr_lowering.cpp2832 DEFVALUE(constructorPrototype, (&builder_), VariableType::JS_ANY(), builder_.Undefined()); in LowerOrdinaryHasInstance()
2850constructorPrototype = builder_.LoadConstOffset(VariableType::JS_POINTER(), ctorProtoOrHC, in LowerOrdinaryHasInstance()
2856 constructorPrototype = ctorProtoOrHC; in LowerOrdinaryHasInstance()
2864constructorPrototype = builder_.CallRuntime(glue, RTSTUB_ID(GetPropertyByName), Gate::InvalidGateR… in LowerOrdinaryHasInstance()
2873 …BRANCH_CIR(builder_.IsEcmaObject(*constructorPrototype), &prototypeIsEcmaObj, &prototypeNotEcmaObj… in LowerOrdinaryHasInstance()
2900 GateRef isEqual = builder_.Equal(*object, *constructorPrototype); in LowerOrdinaryHasInstance()
Dstub_builder.cpp5839 DEFVARIABLE(constructorPrototype, VariableType::JS_ANY(), Undefined()); in GetCtorPrototype()
5851 constructorPrototype = Hole(); in GetCtorPrototype()
5858constructorPrototype = Load(VariableType::JS_POINTER(), ctorProtoOrHC, IntPtr(JSHClass::PROTOTYPE_… in GetCtorPrototype()
5863 constructorPrototype = ctorProtoOrHC; in GetCtorPrototype()
5868 auto ret = *constructorPrototype; in GetCtorPrototype()
5925 DEFVARIABLE(constructorPrototype, VariableType::JS_ANY(), Undefined()); in OrdinaryHasInstance()
5936 constructorPrototype = GetCtorPrototype(target); in OrdinaryHasInstance()
5937 … BRANCH(TaggedIsHole(*constructorPrototype), &getCtorProtoSlowPath, &gotCtorPrototype); in OrdinaryHasInstance()
5944constructorPrototype = FastGetPropertyByName(glue, target, prototypeString, ProfileOperation()); in OrdinaryHasInstance()
5965 BRANCH(TaggedIsHeapObject(*constructorPrototype), &constructorPrototypeIsHeapObject, in OrdinaryHasInstance()
[all …]