mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-08 22:42:40 +08:00
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:
committed by
facebook-github-bot-3
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;
|
||||
|
||||
Reference in New Issue
Block a user