Bug 739899 - Fix clang warning (rs=terrence)
authorBill McCloskey <wmccloskey@mozilla.com>
Thu, 05 Apr 2012 17:05:34 -0700
changeset 91142 153cbd729eba7b3660f0a1d782c3d78c5e236abf
parent 91141 2f84376063fe9b6fd302c7eabd0ff2daafc7e371
child 91143 b0da9a35a841bf4cf770eb2d292128d3abc348a6
push id667
push usertim.taubert@gmx.de
push dateTue, 10 Apr 2012 10:56:50 +0000
treeherderfx-team@6fe5b0271cd1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs739899
milestone14.0a1
Bug 739899 - Fix clang warning (rs=terrence)
js/src/gc/Statistics.cpp
--- a/js/src/gc/Statistics.cpp
+++ b/js/src/gc/Statistics.cpp
@@ -507,18 +507,18 @@ Statistics::endGC()
 
     if (fp)
         printStats();
 }
 
 void
 Statistics::beginSlice(int collectedCount, int compartmentCount, gcreason::Reason reason)
 {
-    collectedCount = collectedCount;
-    compartmentCount = compartmentCount;
+    this->collectedCount = collectedCount;
+    this->compartmentCount = compartmentCount;
 
     bool first = runtime->gcIncrementalState == gc::NO_INCREMENTAL;
     if (first)
         beginGC();
 
     SliceData data(reason, PRMJ_Now());
     (void) slices.append(data); /* Ignore any OOMs here. */