| Index: src/x64/codegen-x64.cc
|
| diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc
|
| index a543a504871054b9020e7c0496a6a8a5db88c511..57720a8019b362eb03c12747dc2182c91cec0d4f 100644
|
| --- a/src/x64/codegen-x64.cc
|
| +++ b/src/x64/codegen-x64.cc
|
| @@ -206,7 +206,7 @@ void CodeGenerator::Generate(CompilationInfo* info) {
|
| frame_->AllocateStackSlots();
|
|
|
| // Allocate the local context if needed.
|
| - int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
|
| + int heap_slots = scope()->num_heap_slots();
|
| if (heap_slots > 0) {
|
| Comment cmnt(masm_, "[ allocate local context");
|
| // Allocate local context.
|
|
|