Chromium Code Reviews| Index: src/execution.h |
| diff --git a/src/execution.h b/src/execution.h |
| index 47cbb08f03a9b191bef437c2fc5280912de21097..870bb9118465fbad32460d42827158f1908ef1c5 100644 |
| --- a/src/execution.h |
| +++ b/src/execution.h |
| @@ -197,6 +197,10 @@ class StackGuard FINAL { |
| // stack overflow, then handle the interruption accordingly. |
| Object* HandleInterrupts(); |
| + bool InterruptRequested() { return GetCurrentStackPosition() < climit(); } |
| + |
| + void CheckAndHandleGCInterrupt(); |
| + |
| private: |
| StackGuard(); |