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