Index: src/x87/assembler-x87-inl.h |
diff --git a/src/x87/assembler-x87-inl.h b/src/x87/assembler-x87-inl.h |
index 7af1d02f329f75e3f43d873d243735a462f6712b..638050707debda3187ded0fdf228eed347073969 100644 |
--- a/src/x87/assembler-x87-inl.h |
+++ b/src/x87/assembler-x87-inl.h |
@@ -140,8 +140,8 @@ void RelocInfo::set_target_object(Object* target, |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && |
host() != NULL && |
target->IsHeapObject()) { |
- host()->GetHeap()->incremental_marking()->RecordWrite( |
- host(), &Memory::Object_at(pc_), HeapObject::cast(target)); |
+ host()->GetHeap()->incremental_marking()->RecordWriteIntoCode( |
+ host(), this, HeapObject::cast(target)); |
} |
} |