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

Side by Side Diff: src/objects.h

Issue 1148973005: Revert of Remove obsolete JSFunction::IsOptimizable predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-15
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 7570 matching lines...) Expand 10 before | Expand all | Expand 10 after
7581 7581
7582 // Tells whether this function is defined in an extension script. 7582 // Tells whether this function is defined in an extension script.
7583 inline bool IsFromExtensionScript(); 7583 inline bool IsFromExtensionScript();
7584 7584
7585 // Tells whether or not the function needs arguments adaption. 7585 // Tells whether or not the function needs arguments adaption.
7586 inline bool NeedsArgumentsAdaption(); 7586 inline bool NeedsArgumentsAdaption();
7587 7587
7588 // Tells whether or not this function has been optimized. 7588 // Tells whether or not this function has been optimized.
7589 inline bool IsOptimized(); 7589 inline bool IsOptimized();
7590 7590
7591 // Tells whether or not this function can be optimized.
7592 inline bool IsOptimizable();
7593
7591 // Mark this function for lazy recompilation. The function will be 7594 // Mark this function for lazy recompilation. The function will be
7592 // recompiled the next time it is executed. 7595 // recompiled the next time it is executed.
7593 void MarkForOptimization(); 7596 void MarkForOptimization();
7594 void AttemptConcurrentOptimization(); 7597 void AttemptConcurrentOptimization();
7595 7598
7596 // Tells whether or not the function is already marked for lazy 7599 // Tells whether or not the function is already marked for lazy
7597 // recompilation. 7600 // recompilation.
7598 inline bool IsMarkedForOptimization(); 7601 inline bool IsMarkedForOptimization();
7599 inline bool IsMarkedForConcurrentOptimization(); 7602 inline bool IsMarkedForConcurrentOptimization();
7600 7603
(...skipping 3521 matching lines...) Expand 10 before | Expand all | Expand 10 after
11122 } else { 11125 } else {
11123 value &= ~(1 << bit_position); 11126 value &= ~(1 << bit_position);
11124 } 11127 }
11125 return value; 11128 return value;
11126 } 11129 }
11127 }; 11130 };
11128 11131
11129 } } // namespace v8::internal 11132 } } // namespace v8::internal
11130 11133
11131 #endif // V8_OBJECTS_H_ 11134 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698