| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index a784619d6fb3a4be19baff4da3389ed40fe9caff..18a76d0573e51f5876c251f6ad8d8780f03bea14 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -953,6 +953,12 @@ void Isolate::InvokeApiInterruptCallbacks() {
|
| }
|
| }
|
|
|
| +void Isolate::RequestMemoryPressureInterrupt(
|
| + v8::Isolate::MemoryPressureLevel level) {
|
| + ExecutionAccess access(this);
|
| + memory_pressure_level_ = level;
|
| + stack_guard()->RequestMemoryPressureInterrupt();
|
| +}
|
|
|
| void ReportBootstrappingException(Handle<Object> exception,
|
| MessageLocation* location) {
|
|
|