Home
last modified time | relevance | path

Searched defs:hclass (Results 1 – 25 of 205) sorted by relevance

123456789

/arkcompiler/ets_runtime/ecmascript/mem/
Dtagged_object-inl.h29 inline void TaggedObject::SetClassWithoutBarrier(JSHClass *hclass) in SetClassWithoutBarrier()
34 inline void TaggedObject::SetClass(JSHClass *hclass) in SetClass()
39 inline void TaggedObject::SetClass(JSHandle<JSHClass> hclass) in SetClass()
49 inline void TaggedObject::SynchronizedSetClass(JSHClass *hclass) in SynchronizedSetClass()
Dheap-inl.h120 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass) in AllocateYoungOrHugeObject()
146 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass, size_t size) in AllocateYoungOrHugeObject()
169 TaggedObject *Heap::TryAllocateYoungGeneration(JSHClass *hclass, size_t size) in TryAllocateYoungGeneration()
182 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass) in AllocateOldOrHugeObject()
188 TaggedObject *Heap::AllocateOldOrHugeObject(JSHClass *hclass, size_t size) in AllocateOldOrHugeObject()
201 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass) in AllocateReadOnlyOrHugeObject()
207 TaggedObject *Heap::AllocateReadOnlyOrHugeObject(JSHClass *hclass, size_t size) in AllocateReadOnlyOrHugeObject()
220 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass) in AllocateNonMovableOrHugeObject()
226 TaggedObject *Heap::AllocateNonMovableOrHugeObject(JSHClass *hclass, size_t size) in AllocateNonMovableOrHugeObject()
239 TaggedObject *Heap::AllocateClassClass(JSHClass *hclass, size_t size) in AllocateClassClass()
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp44 JSHandle<JSHClass> hclass(GetThread(), JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateLoadHandler() local
95 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
100 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
110 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateStoreHandler() local
Dic_handler.h217 auto hclass = JSObject::Cast(op.GetReceiver()->GetTaggedObject())->GetJSHClass(); in StoreTransition() local
241 const JSHandle<JSHClass> &hclass) in LoadPrototype()
255 const JSHandle<JSHClass> &hclass) in StorePrototype()
288 const JSHandle<JSHClass> &hclass) in StoreTransition()
322 const JSHandle<JSHClass> &hclass) in StoreAOT()
Dprofile_type_info.cpp23 void ProfileTypeAccessor::AddElementHandler(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedValue>… in AddElementHandler()
42 void ProfileTypeAccessor::AddHandlerWithoutKey(JSHandle<JSTaggedValue> hclass, JSHandle<JSTaggedVal… in AddHandlerWithoutKey()
92 …ProfileTypeAccessor::AddHandlerWithKey(JSHandle<JSTaggedValue> key, JSHandle<JSTaggedValue> hclass, in AddHandlerWithKey()
Dic_runtime_stub-inl.h69 JSTaggedValue ICRuntimeStub::CheckPolyHClass(JSTaggedValue cachedValue, JSHClass* hclass) in CheckPolyHClass()
90 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByName() local
114 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryLoadICByValue() local
143 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryStoreICByValue() local
173 auto hclass = receiver.GetTaggedObject()->GetClass(); in TryStoreICByName() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_proxy_test.cpp70 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
103 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
144 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
188 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
229 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
271 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
318 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
356 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
393 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
429 JSHandle<JSTaggedValue> hclass(thread, JSObjectTestCreate(thread)); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dobject_access_helper.cpp51 JSHClass *hclass = JSHClass::Cast(tsManager_->GetValueFromCache(hclassIndex).GetTaggedObject()); in ComputeForClassInstance() local
80 JSHClass *hclass = JSHClass::Cast(tsManager_->GetValueFromCache(hclassIndex).GetTaggedObject()); in ComputeForClassOrObject() local
Dts_hclass_generator.cpp67 auto hclass = JSHClass::Cast(hclassValue.GetTaggedObject()); in UpdateTSHClassFromPGO() local
150 JSHandle<JSHClass> hclass(thread->GlobalConstants()->GetHandledUndefined()); in CreateHClass() local
180 JSHandle<JSHClass> hclass; in CreateIHClass() local
217 JSHandle<JSHClass> hclass; in CreatePHClass() local
289 JSHandle<JSHClass> hclass; in CreateCHClass() local
Dnew_object_stub_builder.cpp43 auto hclass = GetGlobalConstantValue( in NewLexicalEnv() local
62 GateRef NewObjectStubBuilder::NewJSArrayWithSize(GateRef hclass, GateRef size) in NewJSArrayWithSize()
79 void NewObjectStubBuilder::NewJSObject(Variable *result, Label *exit, GateRef hclass) in NewJSObject()
125 GateRef NewObjectStubBuilder::NewJSObject(GateRef glue, GateRef hclass) in NewJSObject()
154 auto hclass = GetGlobalConstantValue( in NewTaggedArrayChecked() local
272 GateRef hclass, bool isEmptyArray) in NewJSArrayLiteral()
514 …auto hclass = Load(VariableType::JS_POINTER(), arrayFunc, IntPtr(JSFunction::PROTO_OR_DYNCLASS_OFF… in CreateEmptyArray() local
546 auto hclass = LoadHClass(obj); in CreateArrayWithBuffer() local
Dts_class_analysis.cpp102 JSHClass *hclass = JSHClass::Cast(tsManager_->GetValueFromCache(hclassIndex).GetTaggedObject()); in AnalyzeProperties() local
Dic_stub_builder.cpp39 GateRef hclass = LoadHClass(receiver_); in NamedICAccessor() local
77 GateRef hclass = LoadHClass(receiver_); in ValuedICAccessor() local
Dntype_hcr_lowering.cpp157 JSHandle<JSHClass> hclass = JSHClass::Clone(thread, oldHClass); in LowerNTypedCreateArrayWithBuffer() local
225 JSHClass *hclass = JSHClass::Cast(tsManager_->GetValueFromCache(hclassIndex).GetTaggedObject()); in LowerNTypedStOwnByName() local
/arkcompiler/ets_runtime/ecmascript/
Dfree_object.h58 auto hclass = GetClass(); in Available() local
Dobject_factory.cpp169 JSHandle<JSHClass> ObjectFactory::NewEcmaHClassClass(JSHClass *hclass, uint32_t size, JSType type) in NewEcmaHClassClass()
182 … JSHClass *hclass = reinterpret_cast<JSHClass *>(hClassHandle.GetTaggedValue().GetTaggedObject()); in InitClassClass() local
187 JSHandle<JSHClass> ObjectFactory::NewEcmaHClass(JSHClass *hclass, uint32_t size, JSType type, uint3… in NewEcmaHClass()
197 JSHandle<JSHClass> ObjectFactory::NewEcmaReadOnlyHClass(JSHClass *hclass, uint32_t size, JSType typ… in NewEcmaReadOnlyHClass()
396 JSHandle<JSHClass> hclass(thread_, newClass); in NewEcmaHClass() local
593 JSHandle<JSHClass> hclass(thread_, ctor->GetClass()); in CloneClassCtor() local
640 JSHandle<JSPrimitiveRef> ObjectFactory::NewJSPrimitiveRef(const JSHandle<JSHClass> &hclass, in NewJSPrimitiveRef()
658 JSHandle<JSHClass> hclass(env->GetForinIteratorClass()); in NewJSForinIterator() local
779 JSHandle<JSHClass> hclass = JSHandle<JSHClass>::Cast(env->GetArgumentsClass()); in NewJSArguments() local
1367 TaggedObject *ObjectFactory::NewObject(const JSHandle<JSHClass> &hclass) in NewObject()
[all …]
Djs_object-inl.h272 JSTaggedValue JSObject::GetPropertyInlinedPropsWithRep(const JSHClass *hclass, uint32_t index, in GetPropertyInlinedPropsWithRep()
290 void JSObject::SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t ind… in SetPropertyInlinedProps()
301 JSTaggedValue JSObject::GetPropertyInlinedProps(const JSHClass *hclass, uint32_t index) const in GetPropertyInlinedProps()
307 JSTaggedValue JSObject::GetProperty(const JSHClass *hclass, PropertyAttributes attr) const in GetProperty()
317 void JSObject::SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr,… in SetProperty()
Djs_hclass.cpp392 JSHandle<JSHClass> hclass(thread, proto->GetTaggedObject()->GetClass()); in ShouldUpdateProtoClass() local
452 auto hclass = JSHClass::Cast(newHClass.GetTaggedValue().GetTaggedObject()); in TransitionForRepChange() local
487 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in TransitToElementsKind() local
512 JSHClass *hclass = JSHClass::Cast(hclassVal.GetTaggedObject()); in TransitToElementsKind() local
725 PropertyLookupResult JSHClass::LookupPropertyInAotHClass(const JSThread *thread, JSHClass *hclass, … in LookupPropertyInAotHClass()
787 bool JSHClass::DumpForProfile(const JSHClass *hclass, PGOHClassLayoutDesc &desc, PGOObjKind kind) in DumpForProfile()
Djs_tagged_value.cpp1038 auto *hclass = obj->GetTaggedObject()->GetClass(); in HasContainerProperty() local
1085 auto *hclass = obj->GetTaggedObject()->GetClass(); in GetOwnContainerPropertyKeys() local
1131 auto *hclass = obj->GetTaggedObject()->GetClass(); in GetOwnContainerEnumPropertyKeys() local
1169 auto *hclass = obj->GetTaggedObject()->GetClass(); in GetContainerProperty() local
1226 auto *hclass = obj->GetTaggedObject()->GetClass(); in GetJSAPIProperty() local
1268 auto *hclass = obj->GetTaggedObject()->GetClass(); in SetJSAPIProperty() local
Dglobal_env_constants.cpp656 JSHandle<JSHClass> hclass = originHClass; in InitElementKindHClass() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_ark_tools.cpp101 JSHClass *hclass = object->GetTaggedObject()->GetClass(); in IsTSHClass() local
114 JSHClass *hclass = object->GetTaggedObject()->GetClass(); in GetHClass() local
126 JSHClass *hclass = object->GetTaggedObject()->GetClass(); in HasTSSubtyping() local
140 JSHClass *hclass = object->GetTaggedObject()->GetClass(); in IsNotHoleProperty() local
/arkcompiler/ets_runtime/ecmascript/stubs/
Dtest_runtime_stubs.cpp108 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local
130 JSHandle<JSTaggedValue> hclass(thread, function); in DEF_RUNTIME_STUBS() local
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferisview_fuzzer/
Dbuiltinsarraybufferisview_fuzzer.cpp36 JSHandle<JSTaggedValue> hclass(thread, newTgt); in CreateEcmaRuntimeCallInfo() local
/arkcompiler/ets_runtime/test/fuzztest/builtinsarraybufferarraybufferconstructor_fuzzer/
Dbuiltinsarraybufferarraybufferconstructor_fuzzer.cpp36 JSHandle<JSTaggedValue> hclass(thread, newTgt); in CreateEcmaRuntimeCallInfo() local
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.cpp68 auto hclass = root->GetClass(); in HandleObjectField() local
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetentries_fuzzer/
Dcontainerslightweightsetentries_fuzzer.cpp43 JSHandle<JSTaggedValue> hclass(thread, JSObjectCreate(thread)); in CreateEcmaRuntimeCallInfo() local

123456789