| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 12f0cdac6b7faef80bc5f2d8299560696f315a47..35ae9690babc4b298caed1075d66509ce013c214 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1303,10 +1303,12 @@ void Genesis::InitializeExperimentalGlobal() {
|
|
|
| if (FLAG_harmony_typed_arrays) {
|
| { // -- A r r a y B u f f e r
|
| - InstallFunction(global, "__ArrayBuffer", JS_ARRAY_BUFFER_TYPE,
|
| - JSArrayBuffer::kSize,
|
| - isolate()->initial_object_prototype(),
|
| - Builtins::kIllegal, true);
|
| + Handle<JSFunction> array_buffer_fun =
|
| + InstallFunction(global, "__ArrayBuffer", JS_ARRAY_BUFFER_TYPE,
|
| + JSArrayBuffer::kSize,
|
| + isolate()->initial_object_prototype(),
|
| + Builtins::kIllegal, true);
|
| + native_context()->set_array_buffer_fun(*array_buffer_fun);
|
| }
|
| {
|
| // -- T y p e d A r r a y s
|
|
|