From 73a64ed2ebe57143ff168811111c83df0f77d751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gregorczyk?= Date: Tue, 26 Jul 2016 07:20:34 -0700 Subject: [PATCH] Do not set forceProfilerBytecodeGeneration option Reviewed By: bnham Differential Revision: D3598103 fbshipit-source-id: 3bd7069379cd38bd86c13a87487f546044f66902 --- ReactCommon/cxxreact/JSCLegacyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/cxxreact/JSCLegacyProfiler.cpp b/ReactCommon/cxxreact/JSCLegacyProfiler.cpp index dcd1b6d13..6be0471ed 100644 --- a/ReactCommon/cxxreact/JSCLegacyProfiler.cpp +++ b/ReactCommon/cxxreact/JSCLegacyProfiler.cpp @@ -78,7 +78,7 @@ void stopAndOutputProfilingFile( } void addNativeProfilingHooks(JSGlobalContextRef ctx) { - JSEnableByteCodeProfiling(); + // JSEnableByteCodeProfiling(); installGlobalFunction(ctx, "nativeProfilerStart", nativeProfilerStart); installGlobalFunction(ctx, "nativeProfilerEnd", nativeProfilerEnd); }