Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 63e3bbe7f030428faf0d50ac9f250df3e4fd8d29..b88cea24dda338df1b3b771b69e53a2ea440f496 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -139,6 +139,8 @@ void RelocInfo::set_target_object(Object* target, |
host() != NULL && |
target->IsHeapObject()) { |
host()->GetHeap()->RecordWriteIntoCode(host(), this, target); |
+ host()->GetHeap()->incremental_marking()->RecordWriteIntoCode( |
+ host(), this, HeapObject::cast(target)); |
} |
} |