Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 1b61da1c9aa5488da9b423098ea00c7961b34e4e..be956a700e6f5ca7ad6c86791fccd4004b6cb226 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -313,6 +313,7 @@ LanguageMode FunctionLiteral::language_mode() const { |
return scope()->language_mode(); |
} |
+FunctionKind FunctionLiteral::kind() const { return scope()->function_kind(); } |
bool FunctionLiteral::NeedsHomeObject(Expression* expr) { |
if (expr == nullptr || !expr->IsFunctionLiteral()) return false; |