Lines Matching refs:hclass

31                                   const JSHandle<JSHClass> hclass)
33 // Since we currently only support ElementsKind for JSArray initial hclass,
34 // if an object's hclass has a non-generic ElementsKind, it must be one of the JSArray initial hclass.
35 // if an object's hclass has a Generic ElementsKind, it might be the JSArray initial generic elementskind hclass,
36 // which therefore needs further hclass comparison.
39 if (!Elements::IsGeneric(hclass->GetElementsKind()) || hclass.GetTaggedValue() == genericArrayHClass) {
181 inline JSHClass *JSHClass::CheckHClassForRep(JSHClass *hclass, const Representation &rep)
183 if (!hclass->IsTS()) {
184 return hclass;
187 return hclass;
190 int last = static_cast<int>(hclass->LastPropIndex());
191 LayoutInfo *layoutInfo = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject());
193 auto result = hclass;
234 // it would cause issue during GC because hclass may forward to a new addres
302 inline JSHClass *JSHClass::FindRootHClass(JSHClass *hclass)
304 auto root = hclass;
315 inline JSTaggedValue JSHClass::FindProtoHClass(JSHClass *hclass)
317 auto proto = hclass->GetProto();
325 inline JSTaggedValue JSHClass::FindProtoRootHClass(JSHClass *hclass)
327 auto proto = hclass->GetProto();
344 inline int JSHClass::FindPropertyEntry(const JSThread *thread, JSHClass *hclass, JSTaggedValue key)
347 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject());
348 uint32_t propsNumber = hclass->NumberOfProps();
349 int entry = layout->FindElementWithCache(thread, hclass, key, propsNumber);
379 // Add newClass to old hclass's transitions.