Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 1aafd0b709f0856879a529a74102bf435705e40a..b841bd9b58d9093dd18fd7914ca01401966d460f 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8496,6 +8496,11 @@ void Isolate::RestoreOriginalHeapLimit() { |
isolate->heap()->RestoreOriginalHeapLimit(); |
} |
+bool Isolate::IsHeapLimitIncreasedForDebugging() { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ return isolate->heap()->IsHeapLimitIncreasedForDebugging(); |
+} |
+ |
void Isolate::SetJitCodeEventHandler(JitCodeEventOptions options, |
JitCodeEventHandler event_handler) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |