mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-10-05 19:07:43 +03:00
Fix Prepack Model
Reviewed By: dcaspi Differential Revision: D10368705 fbshipit-source-id: 4024174232fc79f24771e1a7da76793efc64265e
This commit is contained in:
parent
217868ba09
commit
3929e795ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user