Revision: 22009
Author: [email protected]
Date: Wed Jun 25 12:12:21 2014 UTC
Log: Drop obsolete dont_optimize compiler hint.
[email protected]
Review URL: https://codereview.chromium.org/354813003
http://code.google.com/p/v8/source/detail?r=22009
Modified:
/branches/bleeding_edge/src/hydrogen.cc
/branches/bleeding_edge/src/objects-inl.h
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/hydrogen.cc Wed Jun 25 12:06:03 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc Wed Jun 25 12:12:21 2014 UTC
@@ -7569,7 +7569,7 @@
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;
}
=======================================
--- /branches/bleeding_edge/src/objects-inl.h Tue Jun 24 09:47:25 2014 UTC
+++ /branches/bleeding_edge/src/objects-inl.h Wed Jun 25 12:12:21 2014 UTC
@@ -5447,8 +5447,6 @@
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)
=======================================
--- /branches/bleeding_edge/src/objects.h Tue Jun 24 15:56:36 2014 UTC
+++ /branches/bleeding_edge/src/objects.h Wed Jun 25 12:12:21 2014 UTC
@@ -7223,9 +7223,6 @@
// 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 @@
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 @@
kIsAnonymous,
kNameShouldPrintAsAnonymous,
kIsFunction,
- kDontOptimize,
kDontInline,
kDontCache,
kDontFlush,
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.