| Index: bleeding_edge/src/ia32/codegen-ia32.cc
|
| ===================================================================
|
| --- bleeding_edge/src/ia32/codegen-ia32.cc (revision 3503)
|
| +++ bleeding_edge/src/ia32/codegen-ia32.cc (working copy)
|
| @@ -174,7 +174,7 @@
|
| function_return_is_shadowed_ = false;
|
|
|
| // Allocate the local context if needed.
|
| - int heap_slots = scope_->num_heap_slots();
|
| + int heap_slots = scope_->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
|
| if (heap_slots > 0) {
|
| Comment cmnt(masm_, "[ allocate local context");
|
| // Allocate local context.
|
|
|