diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-01-31 14:49:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 14:49:35 +0100 |
commit | fecab2c542df1e1aed5c9cb9ef45d113533c1dee (patch) | |
tree | db024cf75b8c7196c918bba2c100021556604c5f /toolkit | |
parent | aa28523a553f5e2553c781081eb21715aedb7eaf (diff) | |
parent | 493c956d8de0fdb763851d9c12cfd248776b80b8 (diff) | |
download | UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar.gz UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar.lz UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.tar.xz UXP-fecab2c542df1e1aed5c9cb9ef45d113533c1dee.zip |
Merge pull request #952 from adeshkp/remove-telemetry-js
Remove telemetry leftovers from JS engine.
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/components/telemetry/TelemetryHistogram.cpp | 5 |
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" |