Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index 0127f2381e5cd8443670ad07d0a05a1a89adbe32..18b9481afc4d1f0a2299ace32cd9340c7e18aa29 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -88,6 +88,13 @@ RUNTIME_FUNCTION(Runtime_ReThrow) { |
} |
+RUNTIME_FUNCTION(Runtime_ThrowStackOverflow) { |
+ SealHandleScope shs(isolate); |
+ DCHECK_EQ(0, args.length()); |
+ return isolate->StackOverflow(); |
+} |
+ |
+ |
RUNTIME_FUNCTION(Runtime_UnwindAndFindExceptionHandler) { |
SealHandleScope shs(isolate); |
DCHECK(args.length() == 0); |