Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index b36d2663ac0545ee89e5f814d136aa3fa0df3501..7cbae7d4aab29edbe44fdd05cc429b4b41dbaf04 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -511,7 +511,7 @@ bool CompileUnoptimizedCode(CompilationInfo* info) { |
bool UseIgnition(CompilationInfo* info) { |
// TODO(4681): Generator functions are not yet supported. |
- if (info->shared_info()->is_generator()) { |
+ if (info->shared_info()->is_generator() || info->shared_info()->is_async()) { |
return false; |
} |