Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index cb6bad8a20f71f28c1c8c70cf8d8afee2a69e46c..4ad8ec6d2a468434464f33cb7c785ebf3a1745e9 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -139,8 +139,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)); |
} |
} |