Chromium Code Reviews| Index: src/isolate.cc |
| diff --git a/src/isolate.cc b/src/isolate.cc |
| index 9a21e236cff78bb6608250837e72e8ca49afbd24..435168fd0d058eef1a3eac993bc04ec74dbdb155 100644 |
| --- a/src/isolate.cc |
| +++ b/src/isolate.cc |
| @@ -925,6 +925,10 @@ bool Isolate::MayAccess(Handle<Context> accessing_context, |
| Object* Isolate::StackOverflow() { |
| + if (FLAG_abort_on_stack_overflow) { |
| + V8_Fatal(__FILE__, __LINE__, "Aborting on stack overflow"); |
|
Michael Starzinger
2016/09/29 10:07:54
nit: Any reason not to use the "FATAL" macro inste
|
| + } |
| + |
| DisallowJavascriptExecution no_js(this); |
| HandleScope scope(this); |