Lines Matching refs:layout
208 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode::KEEP);
221 layout->AddKey(thread, index, key.GetTaggedValue(), attributes);
226 hclass->SetLayout(thread, layout);
258 JSHandle<LayoutInfo> layout = factory->CreateLayoutInfo(length, MemSpaceType::OLD_SPACE, GrowMode::KEEP);
290 layout->AddKey(thread, index, key.GetTaggedValue(), attributes);
295 hclass->SetLayout(thread, layout);
317 JSHandle<LayoutInfo> layout(thread, constructorHClass->GetLayout());
321 PropertyAttributes attr = layout->GetAttr(index);
323 layout->SetNormalAttr(thread, index, attr);
326 PropertyAttributes attr = layout->GetAttr(index);
328 layout->SetNormalAttr(thread, index, attr);
332 PropertyAttributes attr = layout->GetAttr(index);
334 layout->SetNormalAttr(thread, index, attr);
350 JSHandle<LayoutInfo> layout = factory->CreateSLayoutInfo(length + extraLength);
361 layout->AddKey(thread, index, key.GetTaggedValue(), attributes);
365 hclass->SetLayout(thread, layout);
760 auto layout = JSHandle<LayoutInfo>(thread, constructorHClass->GetLayout());
761 AddFieldTypeToHClass(thread, staticFieldArray, length, layout, constructorHClass, ~0U);
948 uint32_t length, const JSHandle<LayoutInfo> &layout,
955 uint32_t index = static_cast<uint32_t>(layout->NumberOfElements());
965 int entry = layout->FindElementWithCache(thread, *hclass, key.GetTaggedValue(), index);
967 attributes = layout->GetAttr(entry);
969 layout->SetNormalAttr(thread, entry, attributes);
983 layout->AddKey(thread, index++, key.GetTaggedValue(), attributes);
993 hclass->SetLayout(thread, layout);
1028 JSHandle<LayoutInfo> layout = factory->CreateSLayoutInfo(fieldNum);
1029 AddFieldTypeToHClass(thread, fieldTypeArray, length, layout, iHClass, ~0U);
1051 JSHandle<LayoutInfo> layout = factory->CopyAndReSortSLayoutInfo(baseLayout, baseLength, newLength);
1052 AddFieldTypeToHClass(thread, fieldTypeArray, length, layout, iHClass, ~0U);