summaryrefslogtreecommitdiffstats
path: root/toolkit/components/telemetry
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-01-30 13:56:07 -0500
committeradeshkp <adeshkp@users.noreply.github.com>2019-01-30 13:56:07 -0500
commit493c956d8de0fdb763851d9c12cfd248776b80b8 (patch)
treee583756e275c3fc2f35948f7eee193aa314e1b35 /toolkit/components/telemetry
parent7f992d50e417b0c2f18259ce2353e3ead4870694 (diff)
downloadUXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.gz
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.lz
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.tar.xz
UXP-493c956d8de0fdb763851d9c12cfd248776b80b8.zip
Remove telemetry leftovers from JS engine.
Diffstat (limited to 'toolkit/components/telemetry')
-rw-r--r--toolkit/components/telemetry/TelemetryHistogram.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/toolkit/components/telemetry/TelemetryHistogram.cpp b/toolkit/components/telemetry/TelemetryHistogram.cpp
index c97367a36..30fcc05ee 100644
--- a/toolkit/components/telemetry/TelemetryHistogram.cpp
+++ b/toolkit/components/telemetry/TelemetryHistogram.cpp
@@ -2090,11 +2090,6 @@ void TelemetryHistogram::InitializeGlobalState(bool canRecordBase,
// don't go unnoticed.
// TODO: Compare explicitly with gHistograms[<histogram id>].bucketCount here
// once we can make gHistograms constexpr (requires VS2015).
- static_assert((JS::gcreason::NUM_TELEMETRY_REASONS == 100),
- "NUM_TELEMETRY_REASONS is assumed to be a fixed value in Histograms.json."
- " If this was an intentional change, update this assert with its value "
- "and update the n_values for the following in Histograms.json: "
- "GC_MINOR_REASON, GC_MINOR_REASON_LONG, GC_REASON_2");
static_assert((mozilla::StartupTimeline::MAX_EVENT_ID == 16),
"MAX_EVENT_ID is assumed to be a fixed value in Histograms.json. If this"
" was an intentional change, update this assert with its value and update"