| Index: src/execution.h
|
| diff --git a/src/execution.h b/src/execution.h
|
| index cb07807c06c98b4a77548742ac8c40ea497b4169..e5a764aa5c97e783525680746912d5f64b214f68 100644
|
| --- a/src/execution.h
|
| +++ b/src/execution.h
|
| @@ -39,7 +39,8 @@ enum InterruptFlag {
|
| DEBUGCOMMAND = 1 << 2,
|
| PREEMPT = 1 << 3,
|
| TERMINATE = 1 << 4,
|
| - RUNTIME_PROFILER_TICK = 1 << 5
|
| + RUNTIME_PROFILER_TICK = 1 << 5,
|
| + GC_REQUEST = 1 << 6
|
| };
|
|
|
| class Execution : public AllStatic {
|
| @@ -184,6 +185,8 @@ class StackGuard : public AllStatic {
|
| static bool IsDebugCommand();
|
| static void DebugCommand();
|
| #endif
|
| + static bool IsGCRequest();
|
| + static void RequestGC();
|
| static void Continue(InterruptFlag after_what);
|
|
|
| // This provides an asynchronous read of the stack limits for the current
|
|
|