Simplify bundle loading a little bit.
Reviewed By: amnn Differential Revision: D4306559 fbshipit-source-id: 9733c508aa5a905251e96855794a59ef79d61cfa
This commit is contained in:
parent
1103a91d8d
commit
46919095aa
|
@ -22,8 +22,7 @@ namespace react {
|
|||
|
||||
enum {
|
||||
UNPACKED_JS_SOURCE = (1 << 0),
|
||||
UNPACKED_BC_CACHE = (1 << 1),
|
||||
UNPACKED_BYTECODE = (1 << 2),
|
||||
UNPACKED_BYTECODE = (1 << 1),
|
||||
};
|
||||
|
||||
class JSExecutor;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue