From 81b7ec9e0cd629823f539c687fddeb0d75b48ca8 Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Tue, 27 Feb 2018 23:06:31 -0500 Subject: [PATCH] Bug 1429904 - Remove mHash which is now unused. It was only used by FrameKey::operator<. r=njn MozReview-Commit-ID: 5Jc6EYmoZfS --HG-- extra : rebase_source : 20c2c4b0396b0b850066d65e6f7984e4fbe472fa --- tools/profiler/core/ProfileBufferEntry.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/profiler/core/ProfileBufferEntry.h b/tools/profiler/core/ProfileBufferEntry.h index 64daf8acb591..15b5f197d4c7 100644 --- a/tools/profiler/core/ProfileBufferEntry.h +++ b/tools/profiler/core/ProfileBufferEntry.h @@ -181,7 +181,6 @@ public: explicit FrameKey(const char* aLocation) : mLocation(aLocation) { - mHash = Hash(); } FrameKey(const FrameKey& aToCopy) @@ -191,21 +190,16 @@ public: , mJITAddress(aToCopy.mJITAddress) , mJITDepth(aToCopy.mJITDepth) { - mHash = Hash(); } FrameKey(const JITAddress& aJITAddress, uint32_t aJITDepth) : mJITAddress(mozilla::Some(aJITAddress)) , mJITDepth(mozilla::Some(aJITDepth)) { - mHash = Hash(); } uint32_t Hash() const; bool operator==(const FrameKey& aOther) const; - - private: - uint32_t mHash; }; struct StackKey {