mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 21:53:30 +00:00
Read bytecode format version from custom JSC executor only if custom JSC is enabled
Reviewed By: javache Differential Revision: D4230129 fbshipit-source-id: d28e475d3a55320285a45f54b7ea495229be364d
This commit is contained in:
parent
8b931ae09f
commit
b4dbf2b477
@ -543,7 +543,7 @@ static void installBasicSynchronousHooksOnContext(JSContext *context)
|
||||
|
||||
- (int32_t)bytecodeFileFormatVersion
|
||||
{
|
||||
return _tryBytecode
|
||||
return (_useCustomJSCLibrary && _tryBytecode)
|
||||
? facebook::react::customJSCWrapper()->JSBytecodeFileFormatVersion
|
||||
: JSNoBytecodeFileFormatVersion;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user