mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
make JSCExecutor compile on iOS without android hacks
Reviewed By: javache Differential Revision: D4434041 fbshipit-source-id: 88439384b1471ea5bd96d7cc39e681ddd3959243
This commit is contained in:
committed by
Facebook Github Bot
parent
ad549c067a
commit
5bc7e3934b
@@ -32,7 +32,7 @@
|
|||||||
#include "ModuleRegistry.h"
|
#include "ModuleRegistry.h"
|
||||||
#include "RecoverableError.h"
|
#include "RecoverableError.h"
|
||||||
|
|
||||||
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
|
#if defined(WITH_JSC_EXTRA_TRACING) || (DEBUG && defined(WITH_FBSYSTRACE))
|
||||||
#include "JSCTracing.h"
|
#include "JSCTracing.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -271,7 +271,7 @@ void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
|||||||
installGlobalFunction(m_context, "nativeInjectHMRUpdate", nativeInjectHMRUpdate);
|
installGlobalFunction(m_context, "nativeInjectHMRUpdate", nativeInjectHMRUpdate);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
|
#if defined(WITH_JSC_EXTRA_TRACING) || (DEBUG && defined(WITH_FBSYSTRACE))
|
||||||
addNativeTracingHooks(m_context);
|
addNativeTracingHooks(m_context);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user