make JSCExecutor compile on iOS without android hacks
Reviewed By: javache Differential Revision: D4434041 fbshipit-source-id: 88439384b1471ea5bd96d7cc39e681ddd3959243
This commit is contained in:
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue