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

Side by Side Diff: src/objects.h

Issue 1146423002: Remove obsolete JSFunction::IsOptimizable predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix assertion. 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 7596 matching lines...) Expand 10 before | Expand all | Expand 10 after
7607 7607
7608 // Tells whether this function is defined in an extension script. 7608 // Tells whether this function is defined in an extension script.
7609 inline bool IsFromExtensionScript(); 7609 inline bool IsFromExtensionScript();
7610 7610
7611 // Tells whether or not the function needs arguments adaption. 7611 // Tells whether or not the function needs arguments adaption.
7612 inline bool NeedsArgumentsAdaption(); 7612 inline bool NeedsArgumentsAdaption();
7613 7613
7614 // Tells whether or not this function has been optimized. 7614 // Tells whether or not this function has been optimized.
7615 inline bool IsOptimized(); 7615 inline bool IsOptimized();
7616 7616
7617 // Tells whether or not this function can be optimized.
7618 inline bool IsOptimizable();
7619
7620 // Mark this function for lazy recompilation. The function will be 7617 // Mark this function for lazy recompilation. The function will be
7621 // recompiled the next time it is executed. 7618 // recompiled the next time it is executed.
7622 void MarkForOptimization(); 7619 void MarkForOptimization();
7623 void AttemptConcurrentOptimization(); 7620 void AttemptConcurrentOptimization();
7624 7621
7625 // Tells whether or not the function is already marked for lazy 7622 // Tells whether or not the function is already marked for lazy
7626 // recompilation. 7623 // recompilation.
7627 inline bool IsMarkedForOptimization(); 7624 inline bool IsMarkedForOptimization();
7628 inline bool IsMarkedForConcurrentOptimization(); 7625 inline bool IsMarkedForConcurrentOptimization();
7629 7626
(...skipping 3521 matching lines...) Expand 10 before | Expand all | Expand 10 after
11151 } else { 11148 } else {
11152 value &= ~(1 << bit_position); 11149 value &= ~(1 << bit_position);
11153 } 11150 }
11154 return value; 11151 return value;
11155 } 11152 }
11156 }; 11153 };
11157 11154
11158 } } // namespace v8::internal 11155 } } // namespace v8::internal
11159 11156
11160 #endif // V8_OBJECTS_H_ 11157 #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