| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 3756)
|
| +++ src/heap.cc (working copy)
|
| @@ -3013,7 +3013,7 @@
|
|
|
| Object* Heap::AllocateFunctionContext(int length, JSFunction* function) {
|
| ASSERT(length >= Context::MIN_CONTEXT_SLOTS);
|
| - Object* result = Heap::AllocateFixedArray(length);
|
| + Object* result = Heap::AllocateFixedArray(length, TENURED);
|
| if (result->IsFailure()) return result;
|
| Context* context = reinterpret_cast<Context*>(result);
|
| context->set_map(context_map());
|
|
|