Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index f0779b4fe91e116f3855bd409e4445cca7d71d3d..b5c7dfac3e4f555785cc42dcf268589b1f18fac5 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1195,7 +1195,6 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> global_object, |
isolate->initial_object_prototype(), |
Builtins::kIllegal); |
native_context()->set_array_buffer_fun(*array_buffer_fun); |
- native_context()->set_array_buffer_map(array_buffer_fun->initial_map()); |
} |
{ // -- T y p e d A r r a y s |
@@ -2800,6 +2799,8 @@ bool Genesis::ConfigureGlobalObjects( |
native_context()->set_initial_array_prototype( |
JSArray::cast(native_context()->array_function()->prototype())); |
+ native_context()->set_array_buffer_map( |
+ native_context()->array_buffer_fun()->initial_map()); |
return true; |
} |