| Index: src/incremental-marking.cc
|
| diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
|
| index c533ce388fb1341456f2840e699fd6a1d6c6661c..ef83ef63cab883b1c8a1e31350abc305160971a1 100644
|
| --- a/src/incremental-marking.cc
|
| +++ b/src/incremental-marking.cc
|
| @@ -482,7 +482,7 @@ bool IncrementalMarking::WorthActivating() {
|
| return FLAG_incremental_marking &&
|
| FLAG_incremental_marking_steps &&
|
| heap_->gc_state() == Heap::NOT_IN_GC &&
|
| - !Serializer::enabled() &&
|
| + !Serializer::enabled(heap_->isolate()) &&
|
| heap_->isolate()->IsInitialized() &&
|
| heap_->PromotedSpaceSizeOfObjects() > kActivationThreshold;
|
| }
|
| @@ -560,7 +560,7 @@ void IncrementalMarking::Start(CompactionFlag flag) {
|
| ASSERT(FLAG_incremental_marking_steps);
|
| ASSERT(state_ == STOPPED);
|
| ASSERT(heap_->gc_state() == Heap::NOT_IN_GC);
|
| - ASSERT(!Serializer::enabled());
|
| + ASSERT(!Serializer::enabled(heap_->isolate()));
|
| ASSERT(heap_->isolate()->IsInitialized());
|
|
|
| ResetStepCounters();
|
|
|