Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 777f4297cb903fe950a76f8ccf8087fefb1cf56c..cd13e21334494e633f9007b7dc66aab931093284 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -1058,6 +1058,7 @@ inline bool IsConstructable(FunctionKind kind, LanguageMode mode) { |
if (IsConciseMethod(kind)) return false; |
if (IsArrowFunction(kind)) return false; |
if (IsGeneratorFunction(kind)) return false; |
+ if (IsAsyncFunction(kind)) return false; |
return true; |
} |