| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 5984834eaf35ebc98ab37c1f220cfbd3bf5b2657..0ec30baa5aecda8dcadfa73e58729e5b529b32c7 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -4434,6 +4434,8 @@ MaybeObject* Heap::AllocateGlobalContext() {
|
| }
|
| Context* context = reinterpret_cast<Context*>(result);
|
| context->set_map_no_write_barrier(global_context_map());
|
| + context->set_fast_array_element_bias(undefined_value());
|
| + context->set_untransitioned_js_array_map(undefined_value());
|
| ASSERT(context->IsGlobalContext());
|
| ASSERT(result->IsContext());
|
| return result;
|
|
|