Lines Matching refs:layout

200     uint32_t inlinedProps, const JSHandle<JSTaggedValue> &layout)
204 SetLayout(thread, layout);
371 JSTaggedValue layout = newJsHClass->GetLayout();
373 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout);
534 JSTaggedValue layout = newProtoClass->GetLayout();
535 // If the type of object is JSObject, the layout info value is initialized to the default value,
536 // if the value is not JSObject, the layout info value is initialized to null.
537 if (!layout.IsNull()) {
538 JSMutableHandle<LayoutInfo> layoutInfoHandle(thread, layout);
590 // 2. If it is dictionary, migrate should change layout. otherwise, copy the hclass only.
633 // 1. Create hclass and copy layout
786 auto layout = LayoutInfo::Cast(current->GetLayout().GetTaggedObject());
787 if (layout->GetAttr(offset).GetTrackType() != targetTrackType) {
788 layout->UpdateTrackTypeAttr(offset, attr);
814 auto layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject());
815 attr = layout->GetAttr(attr.GetOffset());
1274 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(maxNum, MemSpaceType::SEMI_SPACE, GrowMode::KEEP);
1275 rootDesc->IterateProps([thread, factory, &index, hclass, layout](const pgo::PropertyDesc& propDesc) {
1285 layout->AddKey(thread, index, key.GetTaggedValue(), attributes);
1288 hclass->SetLayout(thread, layout);
1304 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(maxNum, MemSpaceType::SEMI_SPACE, GrowMode::KEEP);
1306 hclass->SetLayout(thread, layout);
1376 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject());
1379 layout->DumpFieldIndexByPGO(i, desc);
1422 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject());
1424 layout->UpdateFieldIndexByPGO(i, desc);
1438 LayoutInfo *layout = LayoutInfo::Cast(hclass->GetLayout().GetTaggedObject());
1441 auto key = layout->GetKey(i);
1445 auto attr = layout->GetAttr(i);
1452 auto attr = layout->GetAttr(i);
1564 auto layout = factory->CreateSLayoutInfo(length + parentLength);
1578 layout->AddKey(thread, i, key.GetTaggedValue(), attr);
1586 auto entry = layout->FindElementWithCache(thread, *hclass, key.GetTaggedValue(), index);
1592 layout->AddKey(thread, index, old->GetKey(i), attr);
1597 hclass->SetLayout(thread, layout);