Bug 986023 - remove unused freeList member from SplayTree; r=Ms2ger
authorNathan Froyd <froydnj@mozilla.com>
Thu, 20 Mar 2014 12:19:15 -0400
changeset 194660 5c97bc31a16db0f2d7d5c9aebda12c80c94fe969
parent 194659 47948a560bb23df1f5e3d3f9b19c822abc905754
child 194661 0f3d8044e709a392b8f3c92d1a9550ad3c2620e5
push id486
push userasasaki@mozilla.com
push dateMon, 14 Jul 2014 18:39:42 +0000
treeherdermozilla-release@d33428174ff1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs986023
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 986023 - remove unused freeList member from SplayTree; r=Ms2ger
mfbt/SplayTree.h
--- a/mfbt/SplayTree.h
+++ b/mfbt/SplayTree.h
@@ -47,21 +47,20 @@ class SplayTreeNode
  * T indicates the type of tree elements, Comparator must have a static
  * compare(const T&, const T&) method ordering the elements. The compare
  * method must be free from side effects.
  */
 template<typename T, class Comparator>
 class SplayTree
 {
     T* root;
-    T* freeList;
 
   public:
     SplayTree()
-      : root(nullptr), freeList(nullptr)
+      : root(nullptr)
     {}
 
     bool empty() const {
       return !root;
     }
 
     T* find(const T& v)
     {