Bug 1296715 - Fix android bustage r=me a=merge
authorJon Coppeard <jcoppeard@mozilla.com>
Mon, 22 Aug 2016 12:41:06 +0100
changeset 336320 63988dbb25327ff93dd6e0c7e07b2b819795a9eb
parent 336319 78b89cc4c3d3f09f73077d02cb6cae7bae0e07c3
child 336321 3345f0e8ed3bd33d8af6e2b9bf1fd8bf397a45bc
child 336327 74f16e8aed180aaf153827a6e5eedfb818c0cb11
child 336357 d15eeb67d8bff77fdbce4714f9a04f8dec63e576
push id10033
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:50:26 +0000
treeherdermozilla-aurora@5dddbefdf759 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, merge
bugs1296715
milestone51.0a1
Bug 1296715 - Fix android bustage r=me a=merge
js/src/gc/Statistics.cpp
--- a/js/src/gc/Statistics.cpp
+++ b/js/src/gc/Statistics.cpp
@@ -1306,17 +1306,17 @@ Statistics::printSliceProfile()
 
     static int printedHeader = 0;
     if ((printedHeader++ % 200) == 0) {
         fprintf(stderr, "MajorGC:               Reason States      ");
         printProfileHeader();
     }
 
     fprintf(stderr, "MajorGC: %20s %1d -> %1d      ",
-            ExplainReason(slice.reason), slice.initialState, slice.finalState);
+            ExplainReason(slice.reason), int(slice.initialState), int(slice.finalState));
 
     ProfileTimes times;
     times[ProfileKey::Total] = slice.duration();
     totalTimes_[ProfileKey::Total] += times[ProfileKey::Total];
 
 #define GET_PROFILE_TIME(name, text, phase)                                   \
     times[ProfileKey::name] = slice.phaseTimes[PHASE_DAG_NONE][phase];                     \
     totalTimes_[ProfileKey::name] += times[ProfileKey::name];