| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index e75bf7e57e8a9e95f3bccb2681038bbb3fcd5688..35b8508472ad2ed8b2fbbf5d06910c3d74228761 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -473,9 +473,10 @@ static void PatchIncrementalMarkingRecordWriteStubs(
|
| UnseededNumberDictionary* stubs = heap->code_stubs();
|
|
|
| int capacity = stubs->Capacity();
|
| + Isolate* isolate = heap->isolate();
|
| for (int i = 0; i < capacity; i++) {
|
| Object* k = stubs->KeyAt(i);
|
| - if (stubs->IsKey(k)) {
|
| + if (stubs->IsKey(isolate, k)) {
|
| uint32_t key = NumberToUint32(k);
|
|
|
| if (CodeStub::MajorKeyFromKey(key) == CodeStub::RecordWrite) {
|
|
|