OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 6674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6685 void MarkForParallelRecompilation(); | 6685 void MarkForParallelRecompilation(); |
6686 void MarkForInstallingRecompiledCode(); | 6686 void MarkForInstallingRecompiledCode(); |
6687 void MarkInRecompileQueue(); | 6687 void MarkInRecompileQueue(); |
6688 | 6688 |
6689 // Helpers to compile this function. Returns true on success, false on | 6689 // Helpers to compile this function. Returns true on success, false on |
6690 // failure (e.g., stack overflow during compilation). | 6690 // failure (e.g., stack overflow during compilation). |
6691 static bool EnsureCompiled(Handle<JSFunction> function, | 6691 static bool EnsureCompiled(Handle<JSFunction> function, |
6692 ClearExceptionFlag flag); | 6692 ClearExceptionFlag flag); |
6693 static bool CompileLazy(Handle<JSFunction> function, | 6693 static bool CompileLazy(Handle<JSFunction> function, |
6694 ClearExceptionFlag flag); | 6694 ClearExceptionFlag flag); |
| 6695 static Handle<Code> CompileOsr(Handle<JSFunction> function, |
| 6696 BailoutId osr_ast_id, |
| 6697 ClearExceptionFlag flag); |
6695 static bool CompileOptimized(Handle<JSFunction> function, | 6698 static bool CompileOptimized(Handle<JSFunction> function, |
6696 BailoutId osr_ast_id, | |
6697 ClearExceptionFlag flag); | 6699 ClearExceptionFlag flag); |
6698 | 6700 |
6699 // Tells whether or not the function is already marked for lazy | 6701 // Tells whether or not the function is already marked for lazy |
6700 // recompilation. | 6702 // recompilation. |
6701 inline bool IsMarkedForLazyRecompilation(); | 6703 inline bool IsMarkedForLazyRecompilation(); |
6702 inline bool IsMarkedForParallelRecompilation(); | 6704 inline bool IsMarkedForParallelRecompilation(); |
6703 inline bool IsMarkedForInstallingRecompiledCode(); | 6705 inline bool IsMarkedForInstallingRecompiledCode(); |
6704 | 6706 |
6705 // Tells whether or not the function is on the parallel | 6707 // Tells whether or not the function is on the parallel |
6706 // recompilation queue. | 6708 // recompilation queue. |
(...skipping 3192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9899 } else { | 9901 } else { |
9900 value &= ~(1 << bit_position); | 9902 value &= ~(1 << bit_position); |
9901 } | 9903 } |
9902 return value; | 9904 return value; |
9903 } | 9905 } |
9904 }; | 9906 }; |
9905 | 9907 |
9906 } } // namespace v8::internal | 9908 } } // namespace v8::internal |
9907 | 9909 |
9908 #endif // V8_OBJECTS_H_ | 9910 #endif // V8_OBJECTS_H_ |
OLD | NEW |