make JSCExecutor compile on iOS without android hacks

Reviewed By: javache

Differential Revision: D4434041

fbshipit-source-id: 88439384b1471ea5bd96d7cc39e681ddd3959243
This commit is contained in:
Marc Horowitz 2017-02-01 14:10:39 -08:00 committed by Facebook Github Bot
parent ad549c067a
commit 5bc7e3934b
1 changed files with 2 additions and 2 deletions

View File

@ -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