Lines Matching refs:hclass

205     JSHandle<JSHClass> hclass;
224 hclass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, length);
226 hclass->SetLayout(thread, layout);
227 hclass->SetNumberOfProps(length);
230 hclass = factory->NewEcmaHClass(JSObject::SIZE, JSType::JS_OBJECT, 0); // without in-obj
231 hclass->SetIsDictionaryMode(true);
232 hclass->SetNumberOfProps(0);
235 hclass->SetClassPrototype(true);
236 hclass->SetIsPrototype(true);
237 return hclass;
255 JSHandle<JSHClass> hclass;
293 hclass = factory->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, length);
295 hclass->SetLayout(thread, layout);
296 hclass->SetNumberOfProps(length);
299 hclass = factory->NewEcmaHClass(JSFunction::SIZE, JSType::JS_FUNCTION, 0); // without in-obj
300 hclass->SetIsDictionaryMode(true);
301 hclass->SetNumberOfProps(0);
304 hclass->SetClassConstructor(true);
305 hclass->SetConstructor(true);
307 return hclass;
346 JSHandle<JSHClass> hclass;
363 hclass = isProtoClass ? factory->NewSEcmaHClass(JSSharedObject::SIZE, JSType::JS_SHARED_OBJECT, length) :
365 hclass->SetLayout(thread, layout);
366 hclass->SetNumberOfProps(length);
369 hclass = isProtoClass ? factory->NewSEcmaHClass(JSSharedObject::SIZE, JSType::JS_SHARED_OBJECT, 0) :
371 hclass->SetIsDictionaryMode(true);
372 hclass->SetNumberOfProps(0);
375 hclass->SetClassPrototype(true);
376 hclass->SetIsPrototype(true);
378 hclass->SetClassConstructor(true);
379 hclass->SetConstructor(true);
381 return hclass;
480 // When constructorHClassVal is undefined, it means that AOT has not generated the corresponding hclass (chc),
493 // When prototypeOrHClassVal is undefined, it means that AOT has not generated the corresponding hclass or
949 const JSHandle<JSHClass> &hclass, size_t start,
965 int entry = layout->FindElementWithCache(thread, *hclass, key.GetTaggedValue(), index);
993 hclass->SetLayout(thread, layout);
994 hclass->SetNumberOfProps(index);
995 auto inlinedProps = hclass->GetInlinedProperties();
997 // resize hclass due to duplicated key.
999 hclass->SetObjectSize(hclass->GetObjectSize() - duplicatedSize);
1004 uint32_t length, const JSHandle<NameDictionary> &nameDict, const JSHandle<JSHClass> &hclass)
1008 hclass->SetLayout(thread, dict);
1009 hclass->SetNumberOfProps(0);
1010 hclass->SetIsDictionaryMode(true);