mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-22 11:16:06 +08:00
Simplify bundle loading a little bit.
Reviewed By: amnn Differential Revision: D4306559 fbshipit-source-id: 9733c508aa5a905251e96855794a59ef79d61cfa
This commit is contained in:
committed by
Facebook Github Bot
parent
1103a91d8d
commit
46919095aa
@@ -347,12 +347,6 @@ void JSCExecutor::loadApplicationScript(
|
||||
return loadApplicationScript(std::move(jsScriptBigString), sourceURL);
|
||||
}
|
||||
|
||||
#if defined(WITH_FB_JSC_TUNING) && defined(__ANDROID__)
|
||||
if (flags & UNPACKED_BC_CACHE) {
|
||||
configureJSCBCCache(m_context, bundlePath);
|
||||
}
|
||||
#endif
|
||||
|
||||
sourceCode = JSCreateSourceCode(
|
||||
jsScriptBigString->fd(),
|
||||
jsSourceURL,
|
||||
|
||||
Reference in New Issue
Block a user