Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index 924b94e1087686f446d654bd8719541b13f58ec4..ce6f6ee69b014affc541a4d0f47a983295a28e9c 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -131,11 +131,13 @@ |
} |
} |
-void IncrementalMarking::RecordWriteIntoCodeSlow(Code* host, RelocInfo* rinfo, |
+ |
+void IncrementalMarking::RecordWriteIntoCodeSlow(HeapObject* obj, |
+ RelocInfo* rinfo, |
Object* value) { |
- if (BaseRecordWrite(host, value)) { |
- // Object is not going to be rescanned. We need to record the slot. |
- heap_->mark_compact_collector()->RecordRelocSlot(host, rinfo, value); |
+ if (BaseRecordWrite(obj, value)) { |
+ // Object is not going to be rescanned. We need to record the slot. |
+ heap_->mark_compact_collector()->RecordRelocSlot(rinfo, value); |
} |
} |