| 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 7266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7277 | 7277 |
| 7278 // Tells whether this function is builtin. | 7278 // Tells whether this function is builtin. |
| 7279 inline bool IsBuiltin(); | 7279 inline bool IsBuiltin(); |
| 7280 | 7280 |
| 7281 // Tells whether this function is defined in a native script. | 7281 // Tells whether this function is defined in a native script. |
| 7282 inline bool IsFromNativeScript(); | 7282 inline bool IsFromNativeScript(); |
| 7283 | 7283 |
| 7284 // Tells whether this function is defined in an extension script. | 7284 // Tells whether this function is defined in an extension script. |
| 7285 inline bool IsFromExtensionScript(); | 7285 inline bool IsFromExtensionScript(); |
| 7286 | 7286 |
| 7287 // Tells whether this function should be subject to debugging. |
| 7288 inline bool IsSubjectToDebugging(); |
| 7289 |
| 7287 // Tells whether or not the function needs arguments adaption. | 7290 // Tells whether or not the function needs arguments adaption. |
| 7288 inline bool NeedsArgumentsAdaption(); | 7291 inline bool NeedsArgumentsAdaption(); |
| 7289 | 7292 |
| 7290 // Tells whether or not this function has been optimized. | 7293 // Tells whether or not this function has been optimized. |
| 7291 inline bool IsOptimized(); | 7294 inline bool IsOptimized(); |
| 7292 | 7295 |
| 7293 // Mark this function for lazy recompilation. The function will be | 7296 // Mark this function for lazy recompilation. The function will be |
| 7294 // recompiled the next time it is executed. | 7297 // recompiled the next time it is executed. |
| 7295 void MarkForOptimization(); | 7298 void MarkForOptimization(); |
| 7296 void AttemptConcurrentOptimization(); | 7299 void AttemptConcurrentOptimization(); |
| (...skipping 3520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10817 } else { | 10820 } else { |
| 10818 value &= ~(1 << bit_position); | 10821 value &= ~(1 << bit_position); |
| 10819 } | 10822 } |
| 10820 return value; | 10823 return value; |
| 10821 } | 10824 } |
| 10822 }; | 10825 }; |
| 10823 | 10826 |
| 10824 } } // namespace v8::internal | 10827 } } // namespace v8::internal |
| 10825 | 10828 |
| 10826 #endif // V8_OBJECTS_H_ | 10829 #endif // V8_OBJECTS_H_ |
| OLD | NEW |