| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 52d0ca4e51b6e297c04c94bfb686116722d32bba..5a1109b1a7268d8e3a9b6e3126641420a95a75eb 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -128,8 +128,7 @@ void IncrementalMarking::RecordWriteIntoCodeSlow(HeapObject* obj,
|
| Object* value) {
|
| if (BaseRecordWrite(obj, value)) {
|
| // Object is not going to be rescanned. We need to record the slot.
|
| - heap_->mark_compact_collector()->RecordRelocSlot(rinfo,
|
| - Code::cast(value));
|
| + heap_->mark_compact_collector()->RecordRelocSlot(rinfo, value);
|
| }
|
| }
|
|
|
|
|