OLD | NEW |
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 7317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7328 // Tells whether or not this function has been optimized. | 7328 // Tells whether or not this function has been optimized. |
7329 inline bool IsOptimized(); | 7329 inline bool IsOptimized(); |
7330 | 7330 |
7331 // Tells whether or not this function can be optimized. | 7331 // Tells whether or not this function can be optimized. |
7332 inline bool IsOptimizable(); | 7332 inline bool IsOptimizable(); |
7333 | 7333 |
7334 // Mark this function for lazy recompilation. The function will be | 7334 // Mark this function for lazy recompilation. The function will be |
7335 // recompiled the next time it is executed. | 7335 // recompiled the next time it is executed. |
7336 void MarkForOptimization(); | 7336 void MarkForOptimization(); |
7337 void AttemptConcurrentOptimization(); | 7337 void AttemptConcurrentOptimization(); |
7338 void MarkInOptimizationQueue(); | |
7339 | 7338 |
7340 // Tells whether or not the function is already marked for lazy | 7339 // Tells whether or not the function is already marked for lazy |
7341 // recompilation. | 7340 // recompilation. |
7342 inline bool IsMarkedForOptimization(); | 7341 inline bool IsMarkedForOptimization(); |
7343 inline bool IsMarkedForConcurrentOptimization(); | 7342 inline bool IsMarkedForConcurrentOptimization(); |
7344 | 7343 |
7345 // Tells whether or not the function is on the concurrent recompilation queue. | 7344 // Tells whether or not the function is on the concurrent recompilation queue. |
7346 inline bool IsInOptimizationQueue(); | 7345 inline bool IsInOptimizationQueue(); |
7347 | 7346 |
7348 // Inobject slack tracking is the way to reclaim unused inobject space. | 7347 // Inobject slack tracking is the way to reclaim unused inobject space. |
(...skipping 3630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10979 } else { | 10978 } else { |
10980 value &= ~(1 << bit_position); | 10979 value &= ~(1 << bit_position); |
10981 } | 10980 } |
10982 return value; | 10981 return value; |
10983 } | 10982 } |
10984 }; | 10983 }; |
10985 | 10984 |
10986 } } // namespace v8::internal | 10985 } } // namespace v8::internal |
10987 | 10986 |
10988 #endif // V8_OBJECTS_H_ | 10987 #endif // V8_OBJECTS_H_ |
OLD | NEW |