Index: src/heap/objects-visiting-inl.h |
diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h |
index dbc296e59ea777a88b608fb7de25e2d5ce9bcdb0..030d41ca4cb741b9e59489fb27e5925dcbee1c29 100644 |
--- a/src/heap/objects-visiting-inl.h |
+++ b/src/heap/objects-visiting-inl.h |
@@ -495,7 +495,7 @@ template <typename StaticVisitor> |
void StaticMarkingVisitor<StaticVisitor>::VisitJSRegExp(Map* map, |
HeapObject* object) { |
int last_property_offset = |
- JSRegExp::kSize + kPointerSize * map->inobject_properties(); |
+ JSRegExp::kSize + kPointerSize * map->GetInObjectProperties(); |
StaticVisitor::VisitPointers( |
map->GetHeap(), object, |
HeapObject::RawField(object, JSRegExp::kPropertiesOffset), |