Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index a1b07f05030b327b005b13e8c705eb9c6c4ef09f..277d903a6e44c75216789bfb2ec7e55a4a6f7bd0 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5933,6 +5933,9 @@ class SharedFunctionInfo: public HeapObject { |
// Indicates that code for this function cannot be cached. |
DECL_BOOLEAN_ACCESSORS(dont_cache) |
+ // Indicates that this function is a generator. |
+ DECL_BOOLEAN_ACCESSORS(is_generator) |
+ |
// Indicates whether or not the code in the shared function support |
// deoptimization. |
inline bool has_deoptimization_support(); |
@@ -6159,6 +6162,7 @@ class SharedFunctionInfo: public HeapObject { |
kDontOptimize, |
kDontInline, |
kDontCache, |
+ kIsGenerator, |
kCompilerHintsCount // Pseudo entry |
}; |