2016-05-04 02:29:58 +00:00
|
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-05-14 00:15:03 +00:00
|
|
|
#if defined(WITH_JSC_EXTRA_TRACING) || DEBUG
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
2016-05-04 02:29:58 +00:00
|
|
|
|
|
|
|
#include <JavaScriptCore/JSContextRef.h>
|
2016-05-14 00:15:03 +00:00
|
|
|
|
2016-05-04 02:29:58 +00:00
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
2016-05-14 00:15:03 +00:00
|
|
|
uint64_t tracingTagFromJSValue(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
|
2016-05-04 02:29:58 +00:00
|
|
|
void addNativeTracingHooks(JSGlobalContextRef ctx);
|
|
|
|
|
|
|
|
} }
|
|
|
|
|
|
|
|
#endif
|