| Index: src/arm/codegen-arm.cc
|
| diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc
|
| index 4a982f6e5c53062e9125b264519eefed4799fae6..2fa071195953fa7b28aaa86734012455d5d68541 100644
|
| --- a/src/arm/codegen-arm.cc
|
| +++ b/src/arm/codegen-arm.cc
|
| @@ -209,7 +209,7 @@ void CodeGenerator::Generate(CompilationInfo* info) {
|
| frame_->AllocateStackSlots();
|
|
|
| frame_->AssertIsSpilled();
|
| - int heap_slots = scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
|
| + int heap_slots = scope()->num_heap_slots();
|
| if (heap_slots > 0) {
|
| // Allocate local context.
|
| // Get outer context and create a new context based on it.
|
|
|