Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index e9fd74c0d18dabccea727270af200308af6ff031..e420d28521ec26de2f7a01151e3ade68a28c6235 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -78,7 +78,7 @@ void IncrementalMarking::RecordWriteSlow(HeapObject* obj, |
void IncrementalMarking::RecordWriteFromCode(HeapObject* obj, |
- Object* value, |
+ Object** slot, |
Isolate* isolate) { |
ASSERT(obj->IsHeapObject()); |
IncrementalMarking* marking = isolate->heap()->incremental_marking(); |
@@ -94,7 +94,7 @@ void IncrementalMarking::RecordWriteFromCode(HeapObject* obj, |
MemoryChunk::kWriteBarrierCounterGranularity); |
} |
- marking->RecordWrite(obj, NULL, value); |
+ marking->RecordWrite(obj, slot, *slot); |
} |