Index: src/field-index-inl.h |
diff --git a/src/field-index-inl.h b/src/field-index-inl.h |
index 042e4fbdd2316d1c3dcaa5ed27ccae550af615d5..b8bc67bfa06971ba1f67ca34bb2da799c1a0a24a 100644 |
--- a/src/field-index-inl.h |
+++ b/src/field-index-inl.h |
@@ -89,8 +89,7 @@ inline int FieldIndex::GetLoadByFieldIndex() const { |
inline FieldIndex FieldIndex::ForDescriptor(Map* map, int descriptor_index) { |
PropertyDetails details = |
map->instance_descriptors()->GetDetails(descriptor_index); |
- int field_index = |
- map->instance_descriptors()->GetFieldIndex(descriptor_index); |
+ int field_index = details.field_index(); |
return ForPropertyIndex(map, field_index, |
details.representation().IsDouble()); |
} |