Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 9a21e236cff78bb6608250837e72e8ca49afbd24..fd0ea5df17402521d225a050295be83f78644542 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) { |
+ FATAL("Aborting on stack overflow"); |
+ } |
+ |
DisallowJavascriptExecution no_js(this); |
HandleScope scope(this); |