mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Cleanup Platform
Reviewed By: dcaspi Differential Revision: D5185504 fbshipit-source-id: 4f7e9f9068598418b346a7370f6be241a0784b60
This commit is contained in:
committed by
Facebook Github Bot
parent
f7c89b4187
commit
81c2f3b189
@@ -226,8 +226,8 @@ void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
||||
installNativeHook<&JSCExecutor::nativeFlushQueueImmediate>("nativeFlushQueueImmediate");
|
||||
installNativeHook<&JSCExecutor::nativeCallSyncHook>("nativeCallSyncHook");
|
||||
|
||||
installGlobalFunction(m_context, "nativeLoggingHook", JSNativeHooks::loggingHook);
|
||||
installGlobalFunction(m_context, "nativePerformanceNow", JSNativeHooks::nowHook);
|
||||
installGlobalFunction(m_context, "nativeLoggingHook", JSCNativeHooks::loggingHook);
|
||||
installGlobalFunction(m_context, "nativePerformanceNow", JSCNativeHooks::nowHook);
|
||||
|
||||
#if DEBUG
|
||||
installGlobalFunction(m_context, "nativeInjectHMRUpdate", nativeInjectHMRUpdate);
|
||||
@@ -242,7 +242,7 @@ void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
||||
addNativeTracingLegacyHooks(m_context);
|
||||
#endif
|
||||
|
||||
PerfLogging::installNativeHooks(m_context);
|
||||
JSCNativeHooks::installPerfHooks(m_context);
|
||||
|
||||
#if defined(__APPLE__) || defined(WITH_JSC_EXTRA_TRACING)
|
||||
if (JSC_JSSamplingProfilerEnabled(m_context)) {
|
||||
|
||||
Reference in New Issue
Block a user