From 70585f07240fcd4e3648662fbe36001bdcd12a8c Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Thu, 29 Oct 2015 11:51:28 -0700 Subject: [PATCH] Fix typo in the enableBytecode symbol Summary: public s/ByteCode/Bytecode/ Reviewed By: mikearmstrong001 Differential Revision: D2595940 fb-gh-sync-id: dc41d0354ef7f11e98cababcdb6d9a722d28b374 --- React/Executors/RCTContextExecutor.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/React/Executors/RCTContextExecutor.m b/React/Executors/RCTContextExecutor.m index c08bea0f9..ee10362ef 100644 --- a/React/Executors/RCTContextExecutor.m +++ b/React/Executors/RCTContextExecutor.m @@ -231,11 +231,11 @@ static void RCTInstallJSCProfiler(RCTBridge *bridge, JSContextRef context) (__typeof__(nativeProfilerEnd))dlsym(JSCProfiler, "nativeProfilerEnd"); if (nativeProfilerStart != NULL && nativeProfilerEnd != NULL) { - void (*nativeProfilerEnableByteCode)(void) = - (__typeof__(nativeProfilerEnableByteCode))dlsym(JSCProfiler, "nativeProfilerEnableByteCode"); + void (*nativeProfilerEnableBytecode)(void) = + (__typeof__(nativeProfilerEnableBytecode))dlsym(JSCProfiler, "nativeProfilerEnableBytecode"); - if (nativeProfilerEnableByteCode != NULL) { - nativeProfilerEnableByteCode(); + if (nativeProfilerEnableBytecode != NULL) { + nativeProfilerEnableBytecode(); } static BOOL isProfiling = NO;