| Index: src/v8natives.js
|
| diff --git a/src/v8natives.js b/src/v8natives.js
|
| index b051a044b4c532f835a2bdd16ee96c04d4236eab..778607633382183a66cf2661303e3399513b04f0 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);
|
| }
|
|
|
|
|
|
|