Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index a7a3015bc6f3e63dcbf5d942e1f33b37ec66ebfe..d6d23d646bb02e3cd3738c58318897e1c0f1b748 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -784,6 +784,11 @@ static bool UseIgnition(CompilationInfo* info) { |
return false; |
} |
+ // TODO(4681): Generators are not yet supported. |
+ if (info->has_shared_info() && info->shared_info()->is_generator()) { |
+ return false; |
+ } |
+ |
// Checks whether top level functions should be passed by the filter. |
if (info->closure().is_null()) { |
Vector<const char> filter = CStrVector(FLAG_ignition_filter); |