Home
last modified time | relevance | path

Searched refs:inobject_properties (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/
Dlayout-descriptor-inl.h29 bool LayoutDescriptor::InobjectUnboxedField(int inobject_properties, in InobjectUnboxedField() argument
35 return details.field_index() < inobject_properties; in InobjectUnboxedField()
169 int inobject_properties = map->GetInObjectProperties(); in CalculateCapacity() local
170 if (inobject_properties == 0) return 0; in CalculateCapacity()
187 if (!InobjectUnboxedField(inobject_properties, details)) continue; in CalculateCapacity()
194 layout_descriptor_length = Min(layout_descriptor_length, inobject_properties); in CalculateCapacity()
203 int inobject_properties = map->GetInObjectProperties(); in Initialize() local
207 if (!InobjectUnboxedField(inobject_properties, details)) { in Initialize()
235 int inobject_properties = map->GetInObjectProperties(); in LayoutDescriptorHelper() local
236 DCHECK(inobject_properties > 0); in LayoutDescriptorHelper()
[all …]
Dfield-index-inl.h28 int inobject_properties = map->GetInObjectProperties(); in ForPropertyIndex() local
29 bool is_inobject = property_index < inobject_properties; in ForPropertyIndex()
35 property_index -= inobject_properties; in ForPropertyIndex()
39 is_double, inobject_properties, first_inobject_offset); in ForPropertyIndex()
Dfield-index.h79 int inobject_properties, int first_inobject_property_offset,
87 InObjectPropertyBits::encode(inobject_properties);
Dlayout-descriptor.h101 V8_INLINE static bool InobjectUnboxedField(int inobject_properties,
Dcode-stub-assembler.cc1855 Node* inobject_properties = LoadMapInobjectProperties(map); in LoadPropertyFromFastObject() local
1860 BranchIfInt32LessThan(field_index, inobject_properties, &if_inobject, in LoadPropertyFromFastObject()
1867 Int32Sub(inobject_properties, field_index)), in LoadPropertyFromFastObject()
1895 field_index = Int32Sub(field_index, inobject_properties); in LoadPropertyFromFastObject()
Dobjects.cc3301 int inobject_properties = new_map->GetInObjectProperties(); in MigrateFastToSlow() local
3302 for (int i = 0; i < inobject_properties; i++) { in MigrateFastToSlow()
9104 Handle<Map> Map::Create(Isolate* isolate, int inobject_properties) { in Create() argument
9114 if (inobject_properties > max_extra_properties) { in Create()
9115 inobject_properties = max_extra_properties; in Create()
9119 JSObject::kHeaderSize + kPointerSize * inobject_properties; in Create()
9122 copy->SetInObjectProperties(inobject_properties); in Create()
9123 copy->set_unused_property_fields(inobject_properties); in Create()
Dobjects.h6035 static Handle<Map> Create(Isolate* isolate, int inobject_properties);
/external/v8/test/cctest/
Dtest-code-stub-assembler.cc533 int inobject_properties = 0; in TEST() local
534 Handle<Map> map = Map::Create(isolate, inobject_properties); in TEST()
538 CHECK_EQ(inobject_properties, object->map()->GetInObjectProperties()); in TEST()
545 int inobject_properties = arraysize(names) * 2; in TEST() local
546 Handle<Map> map = Map::Create(isolate, inobject_properties); in TEST()
550 CHECK_EQ(inobject_properties, object->map()->GetInObjectProperties()); in TEST()
557 int inobject_properties = arraysize(names) / 2; in TEST() local
558 Handle<Map> map = Map::Create(isolate, inobject_properties); in TEST()
562 CHECK_EQ(inobject_properties, object->map()->GetInObjectProperties()); in TEST()
731 int inobject_properties = 0; in TEST() local
[all …]
Dtest-unboxed-doubles.cc190 int inobject_properties = kPropsCount - 1; in TEST() local
191 Handle<Map> map = Map::Create(isolate, inobject_properties); in TEST()
207 int inobject_properties = kPropsCount; in TEST() local
208 Handle<Map> map = Map::Create(isolate, inobject_properties); in TEST()
567 int inobject_properties = kPropsCount / 2; in TEST() local
568 Handle<Map> map = Map::Create(isolate, inobject_properties); in TEST()
572 for (int i = 0; i < inobject_properties; i++) { in TEST()
578 for (int i = inobject_properties; i < kPropsCount; i++) { in TEST()
608 Isolate* isolate, int inobject_properties, TestPropertyKind* props, in TestLayoutDescriptorAppend() argument
618 Handle<Map> map = Map::Create(isolate, inobject_properties); in TestLayoutDescriptorAppend()
[all …]
Dtest-inobject-slack-tracking.cc118 int inobject_properties = obj->map()->GetInObjectProperties(); in IsObjectShrinkable() local
122 for (int i = inobject_properties - unused; i < inobject_properties; i++) { in IsObjectShrinkable()
/external/v8/src/crankshaft/
Dhydrogen.cc12220 int inobject_properties = boilerplate_object->map()->GetInObjectProperties(); in BuildEmitInObjectProperties() local
12223 for (int i = copied_fields; i < inobject_properties; i++) { in BuildEmitInObjectProperties()