Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 9a68f639efec56559c0aa7ffe76a58ada5776fc4..9c22cebe9590941b1b2ba273969a98983140cff5 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6500,6 +6500,17 @@ void V8::CancelTerminateExecution(Isolate* isolate) { |
} |
+void Isolate::RequestInterrupt(InterruptCallback callback, void* data) { |
+ reinterpret_cast<i::Isolate*>(this)->stack_guard()->RequestInterrupt( |
+ callback, data); |
+} |
+ |
+ |
+void Isolate::ClearInterrupt() { |
+ reinterpret_cast<i::Isolate*>(this)->stack_guard()->ClearInterrupt(); |
+} |
+ |
+ |
Isolate* Isolate::GetCurrent() { |
i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
return reinterpret_cast<Isolate*>(isolate); |