Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 10686) |
+++ src/objects.h (working copy) |
@@ -5313,9 +5313,12 @@ |
// through the API, which does not change this flag). |
DECL_BOOLEAN_ACCESSORS(is_anonymous) |
- // Indicates that the function cannot be crankshafted. |
- DECL_BOOLEAN_ACCESSORS(dont_crankshaft) |
+ // Is this a function or top-level/eval code. |
+ DECL_BOOLEAN_ACCESSORS(is_function) |
+ // Indicates that the function cannot be optimized. |
+ DECL_BOOLEAN_ACCESSORS(dont_optimize) |
+ |
// Indicates that the function cannot be inlined. |
DECL_BOOLEAN_ACCESSORS(dont_inline) |
@@ -5527,7 +5530,8 @@ |
kBoundFunction, |
kIsAnonymous, |
kNameShouldPrintAsAnonymous, |
- kDontCrankshaft, |
+ kIsFunction, |
+ kDontOptimize, |
kDontInline, |
kCompilerHintsCount // Pseudo entry |
}; |