| Index: src/interpreter/bytecode-generator.cc
|
| diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
|
| index 2bb9eafe4ac070242f35c049c14a0dc03ba67393..959a68f30014c28877bfab8c5cccd1f7041cab45 100644
|
| --- a/src/interpreter/bytecode-generator.cc
|
| +++ b/src/interpreter/bytecode-generator.cc
|
| @@ -683,7 +683,6 @@ BytecodeGenerator::BytecodeGenerator(CompilationInfo* info)
|
| loop_depth_(0),
|
| home_object_symbol_(info->isolate()->factory()->home_object_symbol()),
|
| prototype_string_(info->isolate()->factory()->prototype_string()) {
|
| - InitializeAstVisitor(info->isolate()->stack_guard()->real_climit());
|
| }
|
|
|
| Handle<BytecodeArray> BytecodeGenerator::FinalizeBytecode(Isolate* isolate) {
|
| @@ -726,11 +725,13 @@ void BytecodeGenerator::AllocateDeferredConstants() {
|
| }
|
| }
|
|
|
| -void BytecodeGenerator::GenerateBytecode() {
|
| +void BytecodeGenerator::GenerateBytecode(uintptr_t stack_limit) {
|
| DisallowHeapAllocation no_allocation;
|
| DisallowHandleAllocation no_handles;
|
| DisallowHandleDereference no_deref;
|
|
|
| + InitializeAstVisitor(stack_limit);
|
| +
|
| // Initialize the incoming context.
|
| ContextScope incoming_context(this, scope(), false);
|
|
|
|
|