OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 4516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4527 | 4527 |
4528 // Tells whether this function is builtin. | 4528 // Tells whether this function is builtin. |
4529 inline bool IsBuiltin(); | 4529 inline bool IsBuiltin(); |
4530 | 4530 |
4531 // Tells whether or not the function needs arguments adaption. | 4531 // Tells whether or not the function needs arguments adaption. |
4532 inline bool NeedsArgumentsAdaption(); | 4532 inline bool NeedsArgumentsAdaption(); |
4533 | 4533 |
4534 // Tells whether or not this function has been optimized. | 4534 // Tells whether or not this function has been optimized. |
4535 inline bool IsOptimized(); | 4535 inline bool IsOptimized(); |
4536 | 4536 |
| 4537 // Tells whether or not this function can be optimized. |
| 4538 inline bool IsOptimizable(); |
| 4539 |
4537 // Mark this function for lazy recompilation. The function will be | 4540 // Mark this function for lazy recompilation. The function will be |
4538 // recompiled the next time it is executed. | 4541 // recompiled the next time it is executed. |
4539 void MarkForLazyRecompilation(); | 4542 void MarkForLazyRecompilation(); |
4540 | 4543 |
4541 // Tells whether or not the function is already marked for lazy | 4544 // Tells whether or not the function is already marked for lazy |
4542 // recompilation. | 4545 // recompilation. |
4543 inline bool IsMarkedForLazyRecompilation(); | 4546 inline bool IsMarkedForLazyRecompilation(); |
4544 | 4547 |
4545 // Compute a hash code for the source code of this function. | 4548 // Compute a hash code for the source code of this function. |
4546 uint32_t SourceHash(); | 4549 uint32_t SourceHash(); |
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6653 } else { | 6656 } else { |
6654 value &= ~(1 << bit_position); | 6657 value &= ~(1 << bit_position); |
6655 } | 6658 } |
6656 return value; | 6659 return value; |
6657 } | 6660 } |
6658 }; | 6661 }; |
6659 | 6662 |
6660 } } // namespace v8::internal | 6663 } } // namespace v8::internal |
6661 | 6664 |
6662 #endif // V8_OBJECTS_H_ | 6665 #endif // V8_OBJECTS_H_ |
OLD | NEW |