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:
parent
9a93a3cba4
commit
70585f0724
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue