Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 7df095d19f1e14f93fac1def465748eb2db8093c..2b79a5bf8f25a74a8ac37a35efa75fe7427ea86e 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -689,7 +689,8 @@ Handle<Symbol> Factory::NewPrivateSymbol(Handle<Object> name) { |
Handle<Context> Factory::NewNativeContext() { |
- Handle<FixedArray> array = NewFixedArray(Context::NATIVE_CONTEXT_SLOTS); |
+ Handle<FixedArray> array = |
+ NewFixedArray(Context::NATIVE_CONTEXT_SLOTS, TENURED); |
array->set_map_no_write_barrier(*native_context_map()); |
Handle<Context> context = Handle<Context>::cast(array); |
context->set_js_array_maps(*undefined_value()); |