| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index fe71a225b5bb0374a6a8a7ed2186469b6ba6dc8a..e8a16a52ad0afd51c49329de9349bb44c06f6c71 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1064,6 +1064,16 @@ Handle<JSArrayBuffer> Factory::NewJSArrayBuffer() {
|
| }
|
|
|
|
|
| +Handle<JSDataView> Factory::NewJSDataView() {
|
| + JSFunction* data_view_fun =
|
| + isolate()->context()->native_context()->data_view_fun();
|
| + CALL_HEAP_FUNCTION(
|
| + isolate(),
|
| + isolate()->heap()->AllocateJSObject(data_view_fun),
|
| + JSDataView);
|
| +}
|
| +
|
| +
|
| Handle<JSTypedArray> Factory::NewJSTypedArray(ExternalArrayType type) {
|
| JSFunction* typed_array_fun;
|
| Context* native_context = isolate()->context()->native_context();
|
|
|