| Index: src/ia32/codegen-ia32.cc
|
| diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc
|
| index 1ecfd39ca1edc5864e090a49b253a9f01aea210c..29c8c0e406cf927e2071f00071ac7e31403d9a02 100644
|
| --- a/src/ia32/codegen-ia32.cc
|
| +++ b/src/ia32/codegen-ia32.cc
|
| @@ -209,7 +209,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.
|
|
|