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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // it has been set up. | 187 // it has been set up. |
188 void ClearThread(const ExecutionAccess& lock); | 188 void ClearThread(const ExecutionAccess& lock); |
189 | 189 |
190 bool IsStackOverflow(); | 190 bool IsStackOverflow(); |
191 bool IsPreempted(); | 191 bool IsPreempted(); |
192 void Preempt(); | 192 void Preempt(); |
193 bool IsInterrupted(); | 193 bool IsInterrupted(); |
194 void Interrupt(); | 194 void Interrupt(); |
195 bool IsTerminateExecution(); | 195 bool IsTerminateExecution(); |
196 void TerminateExecution(); | 196 void TerminateExecution(); |
197 bool IsRuntimeProfilerTick(); | |
198 void RequestRuntimeProfilerTick(); | |
199 bool IsCodeReadyEvent(); | 197 bool IsCodeReadyEvent(); |
200 void RequestCodeReadyEvent(); | 198 void RequestCodeReadyEvent(); |
201 #ifdef ENABLE_DEBUGGER_SUPPORT | 199 #ifdef ENABLE_DEBUGGER_SUPPORT |
202 bool IsDebugBreak(); | 200 bool IsDebugBreak(); |
203 void DebugBreak(); | 201 void DebugBreak(); |
204 bool IsDebugCommand(); | 202 bool IsDebugCommand(); |
205 void DebugCommand(); | 203 void DebugCommand(); |
206 #endif | 204 #endif |
207 bool IsGCRequest(); | 205 bool IsGCRequest(); |
208 void RequestGC(); | 206 void RequestGC(); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 friend class StackLimitCheck; | 302 friend class StackLimitCheck; |
305 friend class PostponeInterruptsScope; | 303 friend class PostponeInterruptsScope; |
306 | 304 |
307 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 305 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
308 }; | 306 }; |
309 | 307 |
310 | 308 |
311 } } // namespace v8::internal | 309 } } // namespace v8::internal |
312 | 310 |
313 #endif // V8_EXECUTION_H_ | 311 #endif // V8_EXECUTION_H_ |
OLD | NEW |