| Index: src/heap/incremental-marking.h
|
| diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h
|
| index c2290c4d8206ee39907d7d327baca35cb9e5db46..7ce0ae2379df4c19a0b95733b1070023d3550631 100644
|
| --- a/src/heap/incremental-marking.h
|
| +++ b/src/heap/incremental-marking.h
|
| @@ -66,6 +66,11 @@ class IncrementalMarking {
|
| return request_type_ == FINALIZATION && !finalize_marking_completed_;
|
| }
|
|
|
| + inline bool NeedsFinalization() {
|
| + return IsMarking() &&
|
| + (request_type_ == FINALIZATION || request_type_ == COMPLETE_MARKING);
|
| + }
|
| +
|
| GCRequestType request_type() const { return request_type_; }
|
|
|
| void reset_request_type() { request_type_ = NONE; }
|
|
|