Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index e755ccbad0f2550e99f7011664e2afddf4a7e438..e5b577be80546c47d47f1677205190ca87cd81e5 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -202,8 +202,8 @@ void RelocInfo::set_target_object(Object* target, |
icache_flush_mode); |
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)); |
} |
} |