Lines Matching defs:child
1560 void PGOProfiler::UpdateTransitionLayout(JSHClass* parent, JSHClass* child)
1567 // If the child hclass is set as a prototype, it will become the root hclass. Need to give up.
1568 if (GetProfileType(child).IsRootType()) {
1572 hclassVec.emplace(child);
1598 child = hclassVec.top();
1600 auto childType = GetOrInsertProfileType(child, rootType);
1602 rootType, JSTaggedType(parent), parentType, JSTaggedType(child), childType);
1604 parent = child;
1861 ProfileType PGOProfiler::GetOrInsertProfileType(JSHClass *child, ProfileType rootType)
1863 ProfileType childType = GetProfileType(child);
1866 childType = PGOTypeGenerator::GenerateProfileType(JSTaggedType(child), rootType);
1867 child->SetProfileType(childType.GetRaw());