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