| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index c250b90b1c99d260be6ae137d212ca02bc97db35..ad1a3b114a997cf31ee268c8c53e8f0b9500c06d 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -930,12 +930,12 @@ void IncrementalMarking::Hurry() {
|
| }
|
|
|
| Object* context = heap_->native_contexts_list();
|
| - while (!context->IsUndefined()) {
|
| + while (!context->IsUndefined(heap_->isolate())) {
|
| // GC can happen when the context is not fully initialized,
|
| // so the cache can be undefined.
|
| HeapObject* cache = HeapObject::cast(
|
| Context::cast(context)->get(Context::NORMALIZED_MAP_CACHE_INDEX));
|
| - if (!cache->IsUndefined()) {
|
| + if (!cache->IsUndefined(heap_->isolate())) {
|
| MarkBit mark_bit = Marking::MarkBitFrom(cache);
|
| if (Marking::IsGrey(mark_bit)) {
|
| Marking::GreyToBlack(mark_bit);
|
|
|