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
This commit is contained in:
parent
bb9d85e78e
commit
8a35e9ce47
@ -7569,7 +7569,7 @@ int HOptimizedGraphBuilder::InliningAstSize(Handle<JSFunction> target) {
|
||||
TraceInline(target, caller, "target not inlineable");
|
||||
return kNotInlinable;
|
||||
}
|
||||
if (target_shared->dont_inline() || target_shared->dont_optimize()) {
|
||||
if (target_shared->dont_inline()) {
|
||||
TraceInline(target, caller, "target contains unsupported syntax [early]");
|
||||
return kNotInlinable;
|
||||
}
|
||||
|
@ -5447,8 +5447,6 @@ BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints,
|
||||
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction)
|
||||
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous)
|
||||
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_cache, kDontCache)
|
||||
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush)
|
||||
|
@ -7223,9 +7223,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)
|
||||
|
||||
@ -7292,7 +7289,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.
|
||||
@ -7437,7 +7434,6 @@ class SharedFunctionInfo: public HeapObject {
|
||||
kIsAnonymous,
|
||||
kNameShouldPrintAsAnonymous,
|
||||
kIsFunction,
|
||||
kDontOptimize,
|
||||
kDontInline,
|
||||
kDontCache,
|
||||
kDontFlush,
|
||||
|
Loading…
Reference in New Issue
Block a user