Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 78776008789821bd67c0741695848bde7162234d..c0110270aba4599b4489e1bc1239489ec7200d56 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7258,9 +7258,6 @@ class SharedFunctionInfo: public HeapObject { |
// 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) |
@@ -7327,7 +7324,7 @@ class SharedFunctionInfo: public HeapObject { |
void set_dont_optimize_reason(BailoutReason reason) { |
set_bailout_reason(reason); |
- set_dont_optimize(reason != kNoReason); |
+ set_dont_inline(reason != kNoReason); |
} |
// Check whether or not this function is inlineable. |
@@ -7473,7 +7470,6 @@ class SharedFunctionInfo: public HeapObject { |
kIsAnonymous, |
kNameShouldPrintAsAnonymous, |
kIsFunction, |
- kDontOptimize, |
kDontInline, |
kDontCache, |
kDontFlush, |