Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index d957872cabfaedffa8f1ce955c967fbaf678f3ef..77b55c644fb41cd11ebcf6888f84927d0d5673d9 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -203,10 +203,8 @@ void RelocInfo::set_target_cell(Cell* cell, |
Assembler::FlushICache(isolate_, pc_, sizeof(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); |
} |
} |