Index: src/heap/incremental-marking.cc |
diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc |
index ce6f6ee69b014affc541a4d0f47a983295a28e9c..924b94e1087686f446d654bd8719541b13f58ec4 100644 |
--- a/src/heap/incremental-marking.cc |
+++ b/src/heap/incremental-marking.cc |
@@ -131,13 +131,11 @@ void IncrementalMarking::RecordWriteOfCodeEntrySlow(JSFunction* host, |
} |
} |
- |
-void IncrementalMarking::RecordWriteIntoCodeSlow(HeapObject* obj, |
- RelocInfo* rinfo, |
+void IncrementalMarking::RecordWriteIntoCodeSlow(Code* host, RelocInfo* rinfo, |
Object* 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); |
+ 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); |
} |
} |