Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index b82d377f71fda4040cdcb5784c0f14744a64f42b..643fd997ea92120c7b074c746471a1ebbeb8dfcd 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -9585,7 +9585,7 @@ RUNTIME_FUNCTION(RuntimeHidden_StackGuard) { |
return isolate->StackOverflow(); |
} |
- return Execution::HandleStackGuardInterrupt(isolate); |
+ return isolate->stack_guard()->HandleInterrupts(); |
} |
@@ -9609,7 +9609,7 @@ RUNTIME_FUNCTION(RuntimeHidden_TryInstallOptimizedCode) { |
RUNTIME_FUNCTION(RuntimeHidden_Interrupt) { |
SealHandleScope shs(isolate); |
ASSERT(args.length() == 0); |
- return Execution::HandleStackGuardInterrupt(isolate); |
+ return isolate->stack_guard()->HandleInterrupts(); |
} |
@@ -10782,7 +10782,8 @@ RUNTIME_FUNCTION(Runtime_LookupAccessor) { |
RUNTIME_FUNCTION(Runtime_DebugBreak) { |
SealHandleScope shs(isolate); |
ASSERT(args.length() == 0); |
- return Execution::DebugBreakHelper(isolate); |
+ Execution::DebugBreakHelper(isolate); |
+ return isolate->heap()->undefined_value(); |
} |
@@ -10819,7 +10820,7 @@ RUNTIME_FUNCTION(Runtime_SetDebugEventListener) { |
RUNTIME_FUNCTION(Runtime_Break) { |
SealHandleScope shs(isolate); |
ASSERT(args.length() == 0); |
- isolate->stack_guard()->DebugBreak(); |
+ isolate->stack_guard()->RequestDebugBreak(); |
return isolate->heap()->undefined_value(); |
} |