| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index e3932e5c008b883f7c4b5f9e9393cd05bcdc30fd..2f8af0104ac10cf85d14c3564fb65d72b875febd 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1979,6 +1979,39 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| SimpleInstallGetter(prototype, factory->byte_offset_string(),
|
| Builtins::kDataViewPrototypeGetByteOffset, false,
|
| kDataViewByteOffset);
|
| +
|
| + SimpleInstallFunction(prototype, "getInt8",
|
| + Builtins::kDataViewPrototypeGetInt8, 1, false);
|
| + SimpleInstallFunction(prototype, "setInt8",
|
| + Builtins::kDataViewPrototypeSetInt8, 2, false);
|
| + SimpleInstallFunction(prototype, "getUint8",
|
| + Builtins::kDataViewPrototypeGetUint8, 1, false);
|
| + SimpleInstallFunction(prototype, "setUint8",
|
| + Builtins::kDataViewPrototypeSetUint8, 2, false);
|
| + SimpleInstallFunction(prototype, "getInt16",
|
| + Builtins::kDataViewPrototypeGetInt16, 1, false);
|
| + SimpleInstallFunction(prototype, "setInt16",
|
| + Builtins::kDataViewPrototypeSetInt16, 2, false);
|
| + SimpleInstallFunction(prototype, "getUint16",
|
| + Builtins::kDataViewPrototypeGetUint16, 1, false);
|
| + SimpleInstallFunction(prototype, "setUint16",
|
| + Builtins::kDataViewPrototypeSetUint16, 2, false);
|
| + SimpleInstallFunction(prototype, "getInt32",
|
| + Builtins::kDataViewPrototypeGetInt32, 1, false);
|
| + SimpleInstallFunction(prototype, "setInt32",
|
| + Builtins::kDataViewPrototypeSetInt32, 2, false);
|
| + SimpleInstallFunction(prototype, "getUint32",
|
| + Builtins::kDataViewPrototypeGetUint32, 1, false);
|
| + SimpleInstallFunction(prototype, "setUint32",
|
| + Builtins::kDataViewPrototypeSetUint32, 2, false);
|
| + SimpleInstallFunction(prototype, "getFloat32",
|
| + Builtins::kDataViewPrototypeGetFloat32, 1, false);
|
| + SimpleInstallFunction(prototype, "setFloat32",
|
| + Builtins::kDataViewPrototypeSetFloat32, 2, false);
|
| + SimpleInstallFunction(prototype, "getFloat64",
|
| + Builtins::kDataViewPrototypeGetFloat64, 1, false);
|
| + SimpleInstallFunction(prototype, "setFloat64",
|
| + Builtins::kDataViewPrototypeSetFloat64, 2, false);
|
| }
|
|
|
| { // -- M a p
|
|
|