Fix typo in the enableBytecode symbol

Summary: public

s/ByteCode/Bytecode/

Reviewed By: mikearmstrong001

Differential Revision: D2595940

fb-gh-sync-id: dc41d0354ef7f11e98cababcdb6d9a722d28b374
This commit is contained in:
Tadeu Zagallo 2015-10-29 11:51:28 -07:00 committed by facebook-github-bot-3
parent 9a93a3cba4
commit 70585f0724
1 changed files with 4 additions and 4 deletions

View File

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