Index: src/mark-compact.cc |
diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
index f49179f67e101ad5966d8e7d614d5dc19706a41d..5685ab5de2964d9a56abe0dac7520344cd2b4256 100644 |
--- a/src/mark-compact.cc |
+++ b/src/mark-compact.cc |
@@ -1939,14 +1939,14 @@ void MarkCompactCollector::MarkImplicitRefGroups() { |
ImplicitRefGroup* entry = ref_groups->at(i); |
ASSERT(entry != NULL); |
- if (!IsMarked(*entry->parent_)) { |
+ if (!IsMarked(*entry->parent)) { |
(*ref_groups)[last++] = entry; |
continue; |
} |
- Object*** children = entry->children_; |
+ Object*** children = entry->children; |
// A parent object is marked, so mark all child heap objects. |
- for (size_t j = 0; j < entry->length_; ++j) { |
+ for (size_t j = 0; j < entry->length; ++j) { |
if ((*children[j])->IsHeapObject()) { |
HeapObject* child = HeapObject::cast(*children[j]); |
MarkBit mark = Marking::MarkBitFrom(child); |
@@ -1956,7 +1956,7 @@ void MarkCompactCollector::MarkImplicitRefGroups() { |
// Once the entire group has been marked, dispose it because it's |
// not needed anymore. |
- entry->Dispose(); |
+ delete entry; |
} |
ref_groups->Rewind(last); |
} |