Home
last modified time | relevance | path

Searched refs:protoOrHClass (Results 1 - 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_function.h204 JSTaggedValue protoOrHClass = GetProtoOrHClass(); in GetFunctionPrototype() local
205 if (protoOrHClass.IsJSHClass()) { in GetFunctionPrototype()
206 return JSHClass::Cast(protoOrHClass.GetTaggedObject())->GetPrototype(); in GetFunctionPrototype()
209 return protoOrHClass; in GetFunctionPrototype()
213 JSTaggedValue protoOrHClass);
220 JSTaggedValue protoOrHClass = GetProtoOrHClass(); in HasInitialClass() local
221 return protoOrHClass.IsJSHClass(); in HasInitialClass()
226 JSTaggedValue protoOrHClass = GetProtoOrHClass(); in HasFunctionPrototype() local
227 return !protoOrHClass.IsHole(); in HasFunctionPrototype()
H A Djs_function.cpp130 JSTaggedValue protoOrHClass(fun->GetProtoOrHClass()); in GetOrCreateInitialJSHClass()
131 if (protoOrHClass.IsJSHClass()) { in GetOrCreateInitialJSHClass()
132 return reinterpret_cast<JSHClass *>(protoOrHClass.GetTaggedObject()); in GetOrCreateInitialJSHClass()
178 JSTaggedValue protoOrHClass = func->GetProtoOrHClass(); in PrototypeSetter() local
179 if (protoOrHClass.IsJSHClass()) { in PrototypeSetter()
181 JSHandle<JSHClass> hclass(thread, JSHClass::Cast(protoOrHClass.GetTaggedObject())); in PrototypeSetter()
212 JSTaggedValue protoOrHClass) in SetFunctionPrototypeOrInstanceHClass()
214 JSHandle<JSTaggedValue> protoHandle(thread, protoOrHClass); in SetFunctionPrototypeOrInstanceHClass()
900 JSTaggedValue protoOrHClass(derived->GetProtoOrHClass()); in GetOrCreateDerivedJSHClass()
902 if (protoOrHClass in GetOrCreateDerivedJSHClass()
211 SetFunctionPrototypeOrInstanceHClass(const JSThread *thread, const JSHandle<JSFunction> &fun, JSTaggedValue protoOrHClass) SetFunctionPrototypeOrInstanceHClass() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler.cpp66 auto protoOrHClass = ctorFunc->GetProtoOrHClass(); in ProfileDefineClass() local
67 if (protoOrHClass.IsJSHClass()) { in ProfileDefineClass()
68 auto ihc = JSHClass::Cast(protoOrHClass.GetTaggedObject()); in ProfileDefineClass()
70 protoOrHClass = ihc->GetProto(); in ProfileDefineClass()
72 if (protoOrHClass.IsJSObject()) { in ProfileDefineClass()
73 auto phc = protoOrHClass.GetTaggedObject()->GetClass(); in ProfileDefineClass()
1354 auto protoOrHClass = ctorFunction->GetProtoOrHClass(); in DumpDefineClass() local
1355 if (protoOrHClass.IsJSHClass()) { in DumpDefineClass()
1356 auto ihc = JSHClass::Cast(protoOrHClass.GetTaggedObject()); in DumpDefineClass()
1359 protoOrHClass in DumpDefineClass()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dntype_hcr_lowering.cpp221 JSTaggedValue protoOrHClass = arrayFunc->GetProtoOrHClass(); in NewJSArrayLiteral() local
222 JSHClass *arrayHC = JSHClass::Cast(protoOrHClass.GetTaggedObject()); in NewJSArrayLiteral()
H A Dnew_object_stub_builder.cpp2282 GateRef protoOrHClass = GetProtoOrHClass(constructor); in NewJSObjectByConstructor() local
2283 BRANCH(IsJSHClass(protoOrHClass), &isHClass, &slowPath); in NewJSObjectByConstructor()
2285 jshclass = protoOrHClass; in NewJSObjectByConstructor()
H A Dtyped_bytecode_lowering.cpp2300 JSTaggedValue protoOrHClass = objectFunc->GetProtoOrHClass(); in LowerCreateEmptyObject() local
2301 JSHClass *objectHC = JSHClass::Cast(protoOrHClass.GetTaggedObject()); in LowerCreateEmptyObject()
/arkcompiler/ets_runtime/ecmascript/jit/
H A Djit_profiler.cpp372 JSTaggedValue protoOrHClass = callee->GetProtoOrHClass(); in ConvertNewObjRange() local
373 if (protoOrHClass.IsJSHClass()) { in ConvertNewObjRange()
374 hclass = JSHClass::Cast(protoOrHClass.GetTaggedObject()); in ConvertNewObjRange()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs-inl.h1155 JSTaggedValue protoOrHClass = JSHandle<JSFunction>(ctor)->GetProtoOrHClass(); local
1156 if (protoOrHClass.IsJSHClass()) {
1157 JSHClass *ihc = JSHClass::Cast(protoOrHClass.GetTaggedObject());
1163 JSHandle<JSObject> protoHandle(thread, protoOrHClass);

Completed in 38 milliseconds