| Index: src/heap/objects-visiting-inl.h
|
| diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h
|
| index 148975f630058363f781319f4775eb01368bef14..b93d31eb7489e4badb00a9adc05f6e7ab49a0ab1 100644
|
| --- a/src/heap/objects-visiting-inl.h
|
| +++ b/src/heap/objects-visiting-inl.h
|
| @@ -623,7 +623,7 @@ bool StaticMarkingVisitor<StaticVisitor>::IsFlushable(
|
| // We do not (yet?) flush code for generator functions, or async functions,
|
| // because we don't know if there are still live activations
|
| // (generator objects) on the heap.
|
| - if (shared_info->is_resumable()) {
|
| + if (IsResumableFunction(shared_info->kind())) {
|
| return false;
|
| }
|
|
|
|
|