Lines Matching full:field_index
63 static double GetDoubleFieldValue(JSObject* obj, FieldIndex field_index) {
64 if (obj->IsUnboxedDoubleField(field_index)) {
65 return obj->RawFastDoublePropertyAt(field_index);
67 Object* value = obj->RawFastPropertyAt(field_index);
642 int field_index = f.GetDetails().field_index();
643 bool is_inobject = field_index < map->GetInObjectProperties();
646 !layout_descriptor->IsTagged(field_index + bit));
788 int field_index = details.field_index();
791 bool is_inobject = field_index < map->GetInObjectProperties();
794 !layout_desc->IsTagged(field_index + bit));
796 CHECK(layout_desc->IsTagged(field_index + field_width_in_words));
1052 FieldIndex field_index = FieldIndex::ForDescriptor(*map, 0);
1053 CHECK(field_index.is_inobject() && field_index.is_double());
1054 CHECK_EQ(FLAG_unbox_double_fields, map->IsUnboxedDoubleField(field_index));
1055 CHECK_EQ(42.5, GetDoubleFieldValue(*obj, field_index));
1071 FieldIndex field_index = FieldIndex::ForDescriptor(obj->map(), 0);
1073 obj->FastPropertyAtPut(field_index, *boom_number);
1081 CHECK_EQ(boom_value, GetDoubleFieldValue(*obj, field_index));
1130 FieldIndex field_index = FieldIndex::ForDescriptor(*map, 0);
1131 CHECK(field_index.is_inobject() && field_index.is_double());
1132 CHECK_EQ(FLAG_unbox_double_fields, map->IsUnboxedDoubleField(field_index));
1133 CHECK_EQ(42.5, GetDoubleFieldValue(*obj, field_index));
1135 field_index = FieldIndex::ForDescriptor(*map, 1);
1136 CHECK(field_index.is_inobject() && !field_index.is_double());
1137 CHECK(!map->IsUnboxedDoubleField(field_index));
1171 FieldIndex field_index = FieldIndex::ForDescriptor(*map, 1);
1172 CHECK_EQ(*obj_value, obj->RawFastPropertyAt(field_index));
1388 FieldIndex field_index = FieldIndex::ForDescriptor(*map, 0);
1389 CHECK(field_index.is_inobject() && field_index.is_double());
1390 CHECK_EQ(FLAG_unbox_double_fields, map->IsUnboxedDoubleField(field_index));
1391 CHECK_EQ(42.5, GetDoubleFieldValue(*obj, field_index));
1410 FieldIndex field_index = FieldIndex::ForDescriptor(obj->map(), 0);
1412 obj->FastPropertyAtPut(field_index, *boom_number);
1421 CHECK_EQ(boom_value, GetDoubleFieldValue(*obj, field_index));