Index: src/context-measure.cc |
diff --git a/src/context-measure.cc b/src/context-measure.cc |
index 07075840fd8e04c749836d44962d93bb689ab71c..00c11eebc2cf40a548d16270c4173242f0e78322 100644 |
--- a/src/context-measure.cc |
+++ b/src/context-measure.cc |
@@ -37,10 +37,10 @@ bool ContextMeasure::IsShared(HeapObject* object) { |
void ContextMeasure::MeasureObject(HeapObject* object) { |
- if (back_reference_map_.Lookup(object).is_valid()) return; |
+ if (reference_map_.Lookup(object).is_valid()) return; |
if (root_index_map_.Lookup(object) != RootIndexMap::kInvalidRootIndex) return; |
if (IsShared(object)) return; |
- back_reference_map_.Add(object, BackReference::DummyReference()); |
+ reference_map_.Add(object, SerializerReference::DummyReference()); |
recursion_depth_++; |
if (recursion_depth_ > kMaxRecursion) { |
deferred_objects_.Add(object); |