| Index: src/execution.h
|
| diff --git a/src/execution.h b/src/execution.h
|
| index e9ebb9e8e2a5f8ef041b443f1df6dfd50f335919..b38747cabd1eb23631b6b11d10c5fd7f61e00814 100644
|
| --- a/src/execution.h
|
| +++ b/src/execution.h
|
| @@ -38,7 +38,8 @@ enum InterruptFlag {
|
| DEBUGBREAK = 1 << 1,
|
| DEBUGCOMMAND = 1 << 2,
|
| PREEMPT = 1 << 3,
|
| - TERMINATE = 1 << 4
|
| + TERMINATE = 1 << 4,
|
| + RUNTIME_PROFILER_TICK = 1 << 5
|
| };
|
|
|
| class Execution : public AllStatic {
|
| @@ -176,6 +177,8 @@ class StackGuard {
|
| void Interrupt();
|
| bool IsTerminateExecution();
|
| void TerminateExecution();
|
| + bool IsRuntimeProfilerTick();
|
| + void RequestRuntimeProfilerTick();
|
| #ifdef ENABLE_DEBUGGER_SUPPORT
|
| bool IsDebugBreak();
|
| void DebugBreak();
|
|
|