Commit 094a7623 authored by Frank Tang's avatar Frank Tang Committed by V8 LUCI CQ

[temporal] Temporally Turn OFF tracking for Temporal

Reduce unnecessary size during development

Bug: chromium:1260432
Change-Id: I690e511900abf0f8218f6ece8a5d1f144947b584
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3292484Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Reviewed-by: 's avatarShu-yu Guo <syg@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78027}
parent 85aa276b
......@@ -11,7 +11,7 @@ namespace v8 {
namespace internal {
#define TO_BE_IMPLEMENTED(id) \
BUILTIN(id) { \
BUILTIN_NO_RCS(id) { \
HandleScope scope(isolate); \
UNIMPLEMENTED(); \
}
......
......@@ -79,8 +79,7 @@ class BuiltinArguments : public JavaScriptArguments {
// through the BuiltinArguments object args.
// TODO(cbruni): add global flag to check whether any tracing events have been
// enabled.
#ifdef V8_RUNTIME_CALL_STATS
#define BUILTIN(name) \
#define BUILTIN_RCS(name) \
V8_WARN_UNUSED_RESULT static Object Builtin_Impl_##name( \
BuiltinArguments args, Isolate* isolate); \
\
......@@ -106,8 +105,7 @@ class BuiltinArguments : public JavaScriptArguments {
V8_WARN_UNUSED_RESULT static Object Builtin_Impl_##name( \
BuiltinArguments args, Isolate* isolate)
#else // V8_RUNTIME_CALL_STATS
#define BUILTIN(name) \
#define BUILTIN_NO_RCS(name) \
V8_WARN_UNUSED_RESULT static Object Builtin_Impl_##name( \
BuiltinArguments args, Isolate* isolate); \
\
......@@ -120,6 +118,11 @@ class BuiltinArguments : public JavaScriptArguments {
\
V8_WARN_UNUSED_RESULT static Object Builtin_Impl_##name( \
BuiltinArguments args, Isolate* isolate)
#ifdef V8_RUNTIME_CALL_STATS
#define BUILTIN(name) BUILTIN_RCS(name)
#else // V8_RUNTIME_CALL_STATS
#define BUILTIN(name) BUILTIN_NO_RCS(name)
#endif // V8_RUNTIME_CALL_STATS
// ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment