Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 87ff9ea2092a11180a5eaee1a1baa96e2db225ce..92c48b6882c5224fb961b37c9a4842c166d2bbe9 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -430,7 +430,7 @@ void EnsureFeedbackVector(CompilationInfo* info) { |
bool UseIgnition(CompilationInfo* info) { |
if (info->is_debug()) return false; |
- if (info->shared_info()->is_generator() && !FLAG_ignition_generators) { |
+ if (info->shared_info()->is_resumable() && !FLAG_ignition_generators) { |
return false; |
} |