| Index: src/v8natives.js
|
| diff --git a/src/v8natives.js b/src/v8natives.js
|
| index 93636d008f1b6639a79f885812549e415e24d164..2ee0d0738fee371fa0121f846dbc71f716181ee9 100644
|
| --- a/src/v8natives.js
|
| +++ b/src/v8natives.js
|
| @@ -193,8 +193,8 @@ function ObjectHasOwnProperty(value) {
|
| // ECMA-262 - 15.2.4.6
|
| function ObjectIsPrototypeOf(V) {
|
| if (!IS_SPEC_OBJECT(V)) return false;
|
| - CHECK_OBJECT_COERCIBLE(this, "Object.prototype.isPrototypeOf");
|
| - return %IsInPrototypeChain(this, V);
|
| + var O = TO_OBJECT(this);
|
| + return %_HasInPrototypeChain(V, O);
|
| }
|
|
|
|
|
|
|