Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 1dad8c5d12f34c46b3abc89e7ba6ad0f92d29e42..ba4fbb8dc910d44c53239d20c405700b984160fa 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8440,6 +8440,16 @@ void Isolate::SetRAILMode(RAILMode rail_mode) { |
return isolate->SetRAILMode(rail_mode); |
} |
+void Isolate::IncreaseHeapLimitForDebugging() { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ isolate->heap()->IncreaseHeapLimitForDebugging(); |
+} |
+ |
+void Isolate::RestoreOriginalHeapLimit() { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
+ isolate->heap()->RestoreOriginalHeapLimit(); |
+} |
+ |
void Isolate::SetJitCodeEventHandler(JitCodeEventOptions options, |
JitCodeEventHandler event_handler) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
@@ -8455,7 +8465,6 @@ void Isolate::SetStackLimit(uintptr_t stack_limit) { |
isolate->stack_guard()->SetStackLimit(stack_limit); |
} |
- |
void Isolate::GetCodeRange(void** start, size_t* length_in_bytes) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
if (isolate->heap()->memory_allocator()->code_range()->valid()) { |