| Index: src/objects-printer.cc
|
| diff --git a/src/objects-printer.cc b/src/objects-printer.cc
|
| index f60f671fad8ed5c0cb750ddee75723783021d4be..9054371e849c6d9173cc243879b98a5015fc9cab 100644
|
| --- a/src/objects-printer.cc
|
| +++ b/src/objects-printer.cc
|
| @@ -974,9 +974,9 @@ void JSFunction::JSFunctionPrint(std::ostream& os) { // NOLINT
|
| os << "\n - name = " << Brief(shared()->name());
|
| os << "\n - formal_parameter_count = "
|
| << shared()->internal_formal_parameter_count();
|
| - if (shared()->is_generator()) {
|
| + if (IsGeneratorFunction(shared()->kind())) {
|
| os << "\n - generator";
|
| - } else if (shared()->is_async()) {
|
| + } else if (IsAsyncFunction(shared()->kind())) {
|
| os << "\n - async";
|
| }
|
| os << "\n - context = " << Brief(context());
|
|
|