Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: src/objects.h

Issue 354813003: Drop obsolete dont_optimize compiler hint. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « src/hydrogen.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698