Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 49333eb21ca0854e2b4d0fdc6b2f8e72a8d6b850..b49b795bc1b9e0ef31730ccadd3fcd7b2acada2c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1289,7 +1289,7 @@ Handle<JSFunction> Genesis::InstallTypedArray( |
Builtins::kIllegal, false, true); |
Handle<Map> initial_map = isolate()->factory()->NewMap( |
- JS_TYPED_ARRAY_TYPE, JSTypedArray::kSize, elementsKind); |
+ JS_TYPED_ARRAY_TYPE, JSTypedArray::kSizeWithInternalFields, elementsKind); |
result->set_initial_map(*initial_map); |
initial_map->set_constructor(*result); |
return result; |
@@ -1373,7 +1373,7 @@ void Genesis::InitializeExperimentalGlobal() { |
Handle<JSFunction> data_view_fun = |
InstallFunction( |
global, "DataView", JS_DATA_VIEW_TYPE, |
- JSDataView::kSize, |
+ JSDataView::kSizeWithInternalFields, |
isolate()->initial_object_prototype(), |
Builtins::kIllegal, true, true); |
native_context()->set_data_view_fun(*data_view_fun); |