Home
last modified time | relevance | path

Searched refs:newHClass (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp184 auto newHClass = JSObject::Cast(newObjValue) ->GetJSHClass(); in ProfileCreateObject() local
185 if (newHClass->IsJSArray()) { in ProfileCreateObject()
191 recordInfos_->AddLayout(currentType, JSTaggedType(newHClass), kind); in ProfileCreateObject()
193 InsertLiteralId(JSTaggedType(newHClass), traceId); in ProfileCreateObject()
198 recordInfos_->AddLayout(currentType, JSTaggedType(newHClass), kind); in ProfileCreateObject()
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp444 JSHandle<JSHClass> newHClass = JSHClass::Clone(thread, oldHClass); in TransitionForRepChange() local
446 JSHandle<LayoutInfo> oldLayout(thread, newHClass->GetLayout()); in TransitionForRepChange()
449 newHClass->SetLayout(thread, newLayout); in TransitionForRepChange()
452 auto hclass = JSHClass::Cast(newHClass.GetTaggedValue().GetTaggedObject()); in TransitionForRepChange()
459 JSHClass::NotifyHclassChanged(thread, oldHClass, newHClass, key.GetTaggedValue()); in TransitionForRepChange()
462 receiver->SynchronizedSetClass(*newHClass); in TransitionForRepChange()
776 JSHandle<JSHClass> &newHClass) in CopyTSInheritInfo() argument
780 newHClass->SetSupers(thread, copySupers); in CopyTSInheritInfo()
783 newHClass->SetLevel(level); in CopyTSInheritInfo()
787 newHClass->SetVTable(thread, copyVtable); in CopyTSInheritInfo()
Dsubtyping_operator.cpp207 … JSHandle<JSHClass> &newHClass, const JSHandle<JSTaggedValue> &key) in TryMaintainTSSubtyping() argument
232 …JSHandle<ChangeListener> newListeners = ChangeListener::Add(thread, listeners, newHClass, &registe… in TryMaintainTSSubtyping()
240 JSHClass::CopyTSInheritInfo(thread, oldHClass, newHClass); in TryMaintainTSSubtyping()
Dsubtyping_operator.h39 … JSHandle<JSHClass> &newHClass, const JSHandle<JSTaggedValue> &key);
Djs_hclass.h397 JSHandle<JSHClass> &newHClass);
Dobject_factory.cpp4319 JSHandle<JSHClass> newHClass = JSHClass::Clone(thread_, oldHClassHandle); in GetNonOptimizedHclass() local
4320 newHClass->ClearOptimizedFlags(); in GetNonOptimizedHclass()
4321 return newHClass; in GetNonOptimizedHclass()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub-inl.h276 JSHClass *newHClass = nullptr; in StoreWithTransition() local
281 newHClass = JSHClass::Cast(transWithProtoHandler->GetTransitionHClass().GetTaggedObject()); in StoreWithTransition()
285 newHClass = JSHClass::Cast(transitionHandler->GetTransitionHClass().GetTaggedObject()); in StoreWithTransition()
289 receiver->SynchronizedSetClass(newHClass); in StoreWithTransition()
/arkcompiler/ets_runtime/ecmascript/deoptimizer/
Ddeoptimizer.cpp536 JSHandle<JSHClass> newHClass = factory->GetNonOptimizedHclass(oldHclass, kind); in UpdateAndDumpDeoptInfo() local
537 jsFunc->SynchronizedSetClass(*newHClass); in UpdateAndDumpDeoptInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.cpp2022 GateRef newHClass; in StoreWithTransition() local
2025 newHClass = GetTransWithProtoHClass(handler); in StoreWithTransition()
2028 newHClass = GetTransitionHClass(handler); in StoreWithTransition()
2032 StoreHClass(glue, receiver, newHClass); in StoreWithTransition()
2686 GateRef newHClass = LoadObjectFromWeakRef(value); in FindTransitions() local
2687 result = newHClass; in FindTransitions()
2689 NotifyHClassChanged(glue, hclass, newHClass); in FindTransitions()
2691 StoreHClass(glue, receiver, newHClass); in FindTransitions()
3249 void StubBuilder::NotifyHClassChanged(GateRef glue, GateRef oldHClass, GateRef newHClass) in NotifyHClassChanged() argument
3260 Branch(Equal(oldHClass, newHClass), &exit, &notEqualHClass); in NotifyHClassChanged()
[all …]
Dstub_builder.h479 void NotifyHClassChanged(GateRef glue, GateRef oldHClass, GateRef newHClass);
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2303 JSHandle<JSHClass> newHClass = factory->GetNonOptimizedHclass(hclass, kind); in SaveFrameToContext() local
2304 function->SynchronizedSetClass(*newHClass); in SaveFrameToContext()