| Index: src/js/v8natives.js
|
| diff --git a/src/js/v8natives.js b/src/js/v8natives.js
|
| index 29f9c45efa854360c259e620da1209d0a511e372..79a2fb761ed5ff57aaa3d7ee4a54e3b8c1de6c6d 100644
|
| --- a/src/js/v8natives.js
|
| +++ b/src/js/v8natives.js
|
| @@ -31,12 +31,6 @@ function ObjectToLocaleString() {
|
| }
|
|
|
|
|
| -// ES6 19.1.3.7 Object.prototype.valueOf()
|
| -function ObjectValueOf() {
|
| - return TO_OBJECT(this);
|
| -}
|
| -
|
| -
|
| // ES6 19.1.3.3 Object.prototype.isPrototypeOf(V)
|
| function ObjectIsPrototypeOf(V) {
|
| if (!IS_RECEIVER(V)) return false;
|
| @@ -76,7 +70,7 @@ function ObjectConstructor(x) {
|
| utils.InstallFunctions(GlobalObject.prototype, DONT_ENUM, [
|
| "toString", ObjectToString,
|
| "toLocaleString", ObjectToLocaleString,
|
| - "valueOf", ObjectValueOf,
|
| + // valueOf is added in bootstrapper.cc.
|
| "isPrototypeOf", ObjectIsPrototypeOf,
|
| // propertyIsEnumerable is added in bootstrapper.cc.
|
| // __defineGetter__ is added in bootstrapper.cc.
|
| @@ -113,8 +107,4 @@ utils.Export(function(to) {
|
| to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty;
|
| });
|
|
|
| -%InstallToContext([
|
| - "object_value_of", ObjectValueOf,
|
| -]);
|
| -
|
| })
|
|
|