| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 43a7ead2810e1463b9d9f63210aac2c007789f58..da1c1d458314ce55908abbe7bc1462927c245cda 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -90,6 +90,9 @@ bool Interpreter::MakeBytecode(CompilationInfo* info) {
|
| BytecodeGenerator generator(info->isolate(), info->zone());
|
| info->EnsureFeedbackVector();
|
| Handle<BytecodeArray> bytecodes = generator.MakeBytecode(info);
|
| +
|
| + if (generator.HasStackOverflow()) return false;
|
| +
|
| if (FLAG_print_bytecode) {
|
| OFStream os(stdout);
|
| bytecodes->Print(os);
|
|
|