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

Side by Side Diff: src/objects.h

Issue 1150683002: 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
7594 // Mark this function for lazy recompilation. The function will be 7591 // Mark this function for lazy recompilation. The function will be
7595 // recompiled the next time it is executed. 7592 // recompiled the next time it is executed.
7596 void MarkForOptimization(); 7593 void MarkForOptimization();
7597 void AttemptConcurrentOptimization(); 7594 void AttemptConcurrentOptimization();
7598 7595
7599 // Tells whether or not the function is already marked for lazy 7596 // Tells whether or not the function is already marked for lazy
7600 // recompilation. 7597 // recompilation.
7601 inline bool IsMarkedForOptimization(); 7598 inline bool IsMarkedForOptimization();
7602 inline bool IsMarkedForConcurrentOptimization(); 7599 inline bool IsMarkedForConcurrentOptimization();
7603 7600
(...skipping 3521 matching lines...) Expand 10 before | Expand all | Expand 10 after
11125 } else { 11122 } else {
11126 value &= ~(1 << bit_position); 11123 value &= ~(1 << bit_position);
11127 } 11124 }
11128 return value; 11125 return value;
11129 } 11126 }
11130 }; 11127 };
11131 11128
11132 } } // namespace v8::internal 11129 } } // namespace v8::internal
11133 11130
11134 #endif // V8_OBJECTS_H_ 11131 #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