Index: src/ppc/assembler-ppc-inl.h |
diff --git a/src/ppc/assembler-ppc-inl.h b/src/ppc/assembler-ppc-inl.h |
index b384d3f4f9683f5bdff9c00bd7d2784277b82c9b..e755ccbad0f2550e99f7011664e2afddf4a7e438 100644 |
--- a/src/ppc/assembler-ppc-inl.h |
+++ b/src/ppc/assembler-ppc-inl.h |
@@ -248,9 +248,8 @@ void RelocInfo::set_target_cell(Cell* cell, WriteBarrierMode write_barrier_mode, |
Address address = cell->address() + Cell::kValueOffset; |
Memory::Address_at(pc_) = address; |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && host() != NULL) { |
- // TODO(1550) We are passing NULL as a slot because cell can never be on |
- // evacuation candidate. |
- host()->GetHeap()->incremental_marking()->RecordWrite(host(), NULL, cell); |
+ host()->GetHeap()->incremental_marking()->RecordWriteIntoCode(host(), this, |
+ cell); |
} |
} |