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