Fix Prepack Model

Reviewed By: dcaspi

Differential Revision: D10368705

fbshipit-source-id: 4024174232fc79f24771e1a7da76793efc64265e
This commit is contained in:
Chris Blappert 2018-11-06 22:17:37 -08:00 committed by Facebook Github Bot
parent 217868ba09
commit 3929e795ff

View File

@ -694,7 +694,7 @@ export default function(realm: Realm): NativeFunctionValue {
});
// ECMA262 19.1.2.20
if (!realm.isCompatibleWith(realm.MOBILE_JSC_VERSION) && !realm.isCompatibleWith("mobile"))
if (!realm.isCompatibleWith(realm.MOBILE_JSC_VERSION))
func.defineNativeMethod("setPrototypeOf", 2, (context, [O, proto]) => {
// 1. Let O be ? RequireObjectCoercible(O).
O = RequireObjectCoercible(realm, O);