Chromium Code Reviews| Index: src/arm/codegen-arm.cc |
| =================================================================== |
| --- src/arm/codegen-arm.cc (revision 6437) |
| +++ src/arm/codegen-arm.cc (working copy) |
| @@ -209,7 +209,7 @@ |
| 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. |