| Index: src/interpreter/bytecode-generator.cc
|
| diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
|
| index a57399cf6f046e4ee3150e55293a78fa027114d1..a913ac90f86ebf71db48a4032c271b42c2479328 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);
|
|
|
|
|