Commit 1a7fe981 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Improve broker's "miss" tracing output

Print the file name instead of the function name, as the
function name can be ambiguous.

Bug: v8:7790
Change-Id: I079eb0e5a0012aff1d241618d132ecd2d3d93c8f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1781043Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63498}
parent b7b42293
......@@ -34,11 +34,11 @@ std::ostream& operator<<(std::ostream& os, const ObjectRef& ref);
broker->Trace() << x << '\n'; \
} while (false)
#define TRACE_BROKER_MISSING(broker, x) \
do { \
if (broker->tracing_enabled()) \
broker->Trace() << __FUNCTION__ << " (line " << __LINE__ \
<< "): missing " << x << std::endl; \
#define TRACE_BROKER_MISSING(broker, x) \
do { \
if (broker->tracing_enabled()) \
broker->Trace() << "Missing " << x << " (" << __FILE__ << ":" \
<< __LINE__ << ")" << std::endl; \
} while (false)
struct PropertyAccessTarget {
......
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