Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index bfec51c462f7ec008ecf1ced1845c9ccded456df..af4ed9718bab2c49faf1c4033eac34eb3f1d62fa 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -456,10 +456,8 @@ void RelocInfo::set_target_cell(Cell* cell, |
} |
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); |
} |
} |