Drop obsolete dont_optimize compiler hint.

R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/354813003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22009 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent bb9d85e7
...@@ -7569,7 +7569,7 @@ int HOptimizedGraphBuilder::InliningAstSize(Handle<JSFunction> target) { ...@@ -7569,7 +7569,7 @@ int HOptimizedGraphBuilder::InliningAstSize(Handle<JSFunction> target) {
TraceInline(target, caller, "target not inlineable"); TraceInline(target, caller, "target not inlineable");
return kNotInlinable; return kNotInlinable;
} }
if (target_shared->dont_inline() || target_shared->dont_optimize()) { if (target_shared->dont_inline()) {
TraceInline(target, caller, "target contains unsupported syntax [early]"); TraceInline(target, caller, "target contains unsupported syntax [early]");
return kNotInlinable; return kNotInlinable;
} }
......
...@@ -5447,8 +5447,6 @@ BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, ...@@ -5447,8 +5447,6 @@ BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints,
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize,
kDontOptimize)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
......
...@@ -7223,9 +7223,6 @@ class SharedFunctionInfo: public HeapObject { ...@@ -7223,9 +7223,6 @@ class SharedFunctionInfo: public HeapObject {
// Is this a function or top-level/eval code. // Is this a function or top-level/eval code.
DECL_BOOLEAN_ACCESSORS(is_function) DECL_BOOLEAN_ACCESSORS(is_function)
// Indicates that the function cannot be optimized.
DECL_BOOLEAN_ACCESSORS(dont_optimize)
// Indicates that the function cannot be inlined. // Indicates that the function cannot be inlined.
DECL_BOOLEAN_ACCESSORS(dont_inline) DECL_BOOLEAN_ACCESSORS(dont_inline)
...@@ -7292,7 +7289,7 @@ class SharedFunctionInfo: public HeapObject { ...@@ -7292,7 +7289,7 @@ class SharedFunctionInfo: public HeapObject {
void set_dont_optimize_reason(BailoutReason reason) { void set_dont_optimize_reason(BailoutReason reason) {
set_bailout_reason(reason); set_bailout_reason(reason);
set_dont_optimize(reason != kNoReason); set_dont_inline(reason != kNoReason);
} }
// Check whether or not this function is inlineable. // Check whether or not this function is inlineable.
...@@ -7437,7 +7434,6 @@ class SharedFunctionInfo: public HeapObject { ...@@ -7437,7 +7434,6 @@ class SharedFunctionInfo: public HeapObject {
kIsAnonymous, kIsAnonymous,
kNameShouldPrintAsAnonymous, kNameShouldPrintAsAnonymous,
kIsFunction, kIsFunction,
kDontOptimize,
kDontInline, kDontInline,
kDontCache, kDontCache,
kDontFlush, kDontFlush,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment