Permalink
Browse files

Read bytecode format version from custom JSC executor only if custom …

…JSC is enabled

Reviewed By: javache

Differential Revision: D4230129

fbshipit-source-id: d28e475d3a55320285a45f54b7ea495229be364d
  • Loading branch information...
indragiek authored and Facebook Github Bot committed Nov 27, 2016
1 parent 8b931ae commit b4dbf2b47787c5ee0c63ce3333f4f100c2b7f4df
Showing with 1 addition and 1 deletion.
  1. +1 −1 React/Executors/RCTJSCExecutor.mm
@@ -543,7 +543,7 @@ - (void)invalidate
- (int32_t)bytecodeFileFormatVersion
{
return _tryBytecode
return (_useCustomJSCLibrary && _tryBytecode)
? facebook::react::customJSCWrapper()->JSBytecodeFileFormatVersion
: JSNoBytecodeFileFormatVersion;
}

0 comments on commit b4dbf2b

Please sign in to comment.