Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 4701c2154d0efacaed35e0ef433de5145de18775..f03e6b2e6170deabb79d73ce89af07aa077d0b23 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -831,8 +831,7 @@ Handle<Context> Factory::NewWithContext(Handle<JSFunction> function, |
Handle<Context> Factory::NewBlockContext(Handle<JSFunction> function, |
Handle<Context> previous, |
Handle<ScopeInfo> scope_info) { |
- Handle<FixedArray> array = |
- NewFixedArrayWithHoles(scope_info->ContextLength()); |
+ Handle<FixedArray> array = NewFixedArray(scope_info->ContextLength()); |
array->set_map_no_write_barrier(*block_context_map()); |
Handle<Context> context = Handle<Context>::cast(array); |
context->set_closure(*function); |