Lines Matching refs:newHclass
898 void JSHClass::NotifyHclassChanged(const JSThread *thread, JSHandle<JSHClass> oldHclass, JSHandle<JSHClass> newHclass,
905 if (oldHclass.GetTaggedValue() == newHclass.GetTaggedValue()) {
928 // Therefore, oldHclass's IsPrototype bit is set as true; But for newHclass, it is generated at aot stage,
931 // Good neww is our AOT hclass can not be shared, hence we can set newHclass IsPrototype as true at here.
932 if (newHclass->IsTS() && !newHclass->IsPrototype()) {
933 newHclass->SetIsPrototype(true);
936 JSHClass::RefreshUsers(thread, oldHclass, newHclass);
1093 const JSHandle<JSHClass> &newHclass)
1096 ASSERT(newHclass->IsPrototype());
1099 // oldHclass is already marked. Only update newHclass.protoChangeDetails if it doesn't exist for further use.
1100 if (!newHclass->GetProtoChangeDetails().IsProtoChangeDetails()) {
1101 newHclass->SetProtoChangeDetails(thread, oldHclass->GetProtoChangeDetails());
1105 if (newHclass->GetProtoChangeDetails().IsProtoChangeDetails()) {
1106 ProtoChangeDetails::Cast(newHclass->GetProtoChangeDetails().GetTaggedObject())
1109 RegisterOnProtoChain(thread, newHclass);