Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index 52c76280eba8b495e271318b5ff383f022b7d776..e2ef84100d0e5a0bc2c9357e5fbf6040887b744a 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -86,14 +86,15 @@ class StackGuard final { |
// it has been set up. |
void ClearThread(const ExecutionAccess& lock); |
-#define INTERRUPT_LIST(V) \ |
- V(DEBUGBREAK, DebugBreak, 0) \ |
- V(DEBUGCOMMAND, DebugCommand, 1) \ |
- V(TERMINATE_EXECUTION, TerminateExecution, 2) \ |
- V(GC_REQUEST, GC, 3) \ |
- V(INSTALL_CODE, InstallCode, 4) \ |
- V(API_INTERRUPT, ApiInterrupt, 5) \ |
- V(DEOPT_MARKED_ALLOCATION_SITES, DeoptMarkedAllocationSites, 6) |
+#define INTERRUPT_LIST(V) \ |
+ V(DEBUGBREAK, DebugBreak, 0) \ |
+ V(DEBUGCOMMAND, DebugCommand, 1) \ |
+ V(TERMINATE_EXECUTION, TerminateExecution, 2) \ |
+ V(GC_REQUEST, GC, 3) \ |
+ V(INSTALL_CODE, InstallCode, 4) \ |
+ V(API_INTERRUPT, ApiInterrupt, 5) \ |
+ V(DEOPT_MARKED_ALLOCATION_SITES, DeoptMarkedAllocationSites, 6) \ |
+ V(MEMORY_PRESSURE_INTERRUPT, MemoryPressureInterrupt, 7) |
#define V(NAME, Name, id) \ |
inline bool Check##Name() { return CheckInterrupt(NAME); } \ |
@@ -135,6 +136,8 @@ class StackGuard final { |
Object* HandleInterrupts(); |
void HandleGCInterrupt(); |
+ void HandleMemoryPressureInterrupt(); |
+ |
private: |
StackGuard(); |