Searched refs:oldHclass (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_hclass.cpp | 898 void JSHClass::NotifyHclassChanged(const JSThread *thread, JSHandle<JSHClass> oldHclass, JSHandle<JSHClass> newHclass, in NotifyHclassChanged() argument 901 if (!oldHclass->IsPrototype()) { in NotifyHclassChanged() 905 if (oldHclass.GetTaggedValue() == newHclass.GetTaggedValue()) { in NotifyHclassChanged() 927 // However, we currently support hclass substitution when executing 'C3.valueOf' for C3's oldHclass at runtime. in NotifyHclassChanged() 928 // Therefore, oldHclass's IsPrototype bit is set as true; But for newHclass, it is generated at aot stage, in NotifyHclassChanged() 935 JSHClass::NoticeThroughChain(thread, oldHclass, addedKey); in NotifyHclassChanged() 936 JSHClass::RefreshUsers(thread, oldHclass, newHclass); in NotifyHclassChanged() 1092 void JSHClass::RefreshUsers(const JSThread *thread, const JSHandle<JSHClass> &oldHclass, in RefreshUsers() argument 1095 ASSERT(oldHclass->IsPrototype()); in RefreshUsers() 1097 bool onceRegistered = UnregisterOnProtoChain(thread, oldHclass); in RefreshUsers() [all...] |
H A D | js_hclass.h | 496 static void NotifyHclassChanged(const JSThread *thread, JSHandle<JSHClass> oldHclass, JSHandle<JSHClass> newHclass, 518 static void RefreshUsers(const JSThread *thread, const JSHandle<JSHClass> &oldHclass,
|
Completed in 7 milliseconds