Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index c4ef8eb6509e6f65231edd3c5841ae4c9dcb51aa..921e09689043e715a4d73df35833bc537a4a020a 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1097,6 +1097,7 @@ void Compiler::SetFunctionInfo(Handle<SharedFunctionInfo> function_info, |
function_info->set_dont_optimize(lit->flags()->Contains(kDontOptimize)); |
function_info->set_dont_inline(lit->flags()->Contains(kDontInline)); |
function_info->set_dont_cache(lit->flags()->Contains(kDontCache)); |
+ function_info->set_is_generator(lit->is_generator()); |
} |