Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 8eb6ff577308015c0ec7ee0e7984d04d4e43ac81..add65dd462666a40e91d3eef57b145b42887b933 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -429,8 +429,8 @@ void EnsureFeedbackVector(CompilationInfo* info) { |
bool UseIgnition(CompilationInfo* info) { |
if (info->is_debug()) return false; |
- if (info->shared_info()->is_generator() && !FLAG_ignition_generators) { |
- return false; |
+ if (info->shared_info()->is_resumable()) { |
+ return FLAG_ignition_generators; |
} |
neis
2016/05/11 09:45:16
This looks wrong, it's not the same as
if (info->
|
// Checks whether top level functions should be passed by the filter. |