| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index e38a74ed1921376ca6c291863609fa635b440e0a..e4f97fad90501bf4686e303e754909dce88e39cb 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -392,7 +392,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) {
|
| FunctionLiteral* lit = info->function();
|
| LiveEditFunctionTracker live_edit_tracker(isolate, lit);
|
| if (!MakeCode(info)) {
|
| - isolate->StackOverflow();
|
| + if (!isolate->has_pending_exception()) isolate->StackOverflow();
|
| return Handle<SharedFunctionInfo>::null();
|
| }
|
|
|
|
|