| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 8ac877bfafbe20c2860061d8fc25a577da484825..4d07b17a7a932cc042d93fe93d371886ceee9d17 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -5526,7 +5526,8 @@ void Function::set_is_external(bool value) const {
|
|
|
| void Function::set_is_async_closure(bool value) const {
|
| set_kind_tag(AsyncClosureBit::update(value, raw_ptr()->kind_tag_));
|
| - set_is_optimizable(false);
|
| + // Prohibit inlining as the closure is used for implementing a continuation.
|
| + set_is_inlinable(false);
|
| }
|
|
|
|
|
|
|