Lines Matching refs:oldHclass
898 void JSHClass::NotifyHclassChanged(const JSThread *thread, JSHandle<JSHClass> oldHclass, JSHandle<JSHClass> newHclass,
901 if (!oldHclass->IsPrototype()) {
905 if (oldHclass.GetTaggedValue() == newHclass.GetTaggedValue()) {
927 // However, we currently support hclass substitution when executing 'C3.valueOf' for C3's oldHclass at runtime.
928 // Therefore, oldHclass's IsPrototype bit is set as true; But for newHclass, it is generated at aot stage,
935 JSHClass::NoticeThroughChain(thread, oldHclass, addedKey);
936 JSHClass::RefreshUsers(thread, oldHclass, newHclass);
1092 void JSHClass::RefreshUsers(const JSThread *thread, const JSHandle<JSHClass> &oldHclass,
1095 ASSERT(oldHclass->IsPrototype());
1097 bool onceRegistered = UnregisterOnProtoChain(thread, oldHclass);
1099 // oldHclass is already marked. Only update newHclass.protoChangeDetails if it doesn't exist for further use.
1101 newHclass->SetProtoChangeDetails(thread, oldHclass->GetProtoChangeDetails());
1103 oldHclass->SetProtoChangeDetails(thread, JSTaggedValue::Undefined());