Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index bbd7c15608507bdbc9e6799af3123574afebd9a1..ef5d7f8514054a2a7bc9b4f8a9465dd1b8296568 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); |