Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index bfb67aaedf5d24df2e6b114120faf96a52678fa3..92576a3160fc86afb054a8b8fd266dc901d74613 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -2637,7 +2637,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
lookup_type_ == TRANSITION_TYPE); |
DCHECK(number_ < map->NumberOfOwnDescriptors()); |
int field_index = map->instance_descriptors()->GetFieldIndex(number_); |
- return field_index - map->inobject_properties(); |
+ return field_index - map->GetInObjectProperties(); |
} |
void LookupDescriptor(Map* map, Name* name) { |