No bug. Fix some nits and warning fixes.
authorBlake Kaplan <mrbkap@gmail.com>
Fri, 24 Sep 2010 15:05:46 -0700
changeset 54710 31904ce8b08b7d33292a2047438fb3ead597866e
parent 54709 17ef96fe00951df2492527e170afa553ec05edce
child 54711 543d3ddf76e02e9b9f3f817771bb6957b940186d
push id16011
push userrsayre@mozilla.com
push dateWed, 29 Sep 2010 06:01:57 +0000
treeherdermozilla-central@d7e659b4f80c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b7pre
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
No bug. Fix some nits and warning fixes.
js/src/jsgcstats.cpp
--- a/js/src/jsgcstats.cpp
+++ b/js/src/jsgcstats.cpp
@@ -45,17 +45,17 @@
 #include "jscompartment.h"
 
 using namespace js;
 using namespace js::gc;
 
 #define UL(x)       ((unsigned long)(x))
 #define PERCENT(x,y)  (100.0 * (double) (x) / (double) (y))
 
-namespace js {    
+namespace js {
 namespace gc {
 
 #if defined(JS_DUMP_CONSERVATIVE_GC_ROOTS) || defined(JS_GCMETER)
 
 void
 ConservativeGCStats::dump(FILE *fp)
 {
     size_t words = 0;
@@ -228,19 +228,19 @@ DumpArenaStats(JSGCArenaStats *stp, FILE
     fprintf(fp, "        alloc without locks: %lu  (%.1f%%)\n",
             UL(sumLocalAlloc), PERCENT(sumLocalAlloc, sumAlloc));
 }
 
 void
 DumpCompartmentStats(JSCompartment *comp, FILE *fp)
 {
     if (comp->rt->defaultCompartment == comp)
-        fprintf(fp, "\n**** DefaultCompartment Allocation Statistics: %p ****\n\n", comp);
+        fprintf(fp, "\n**** DefaultCompartment Allocation Statistics: %p ****\n\n", (void *) comp);
     else
-        fprintf(fp, "\n**** Compartment Allocation Statistics: %p ****\n\n", comp);
+        fprintf(fp, "\n**** Compartment Allocation Statistics: %p ****\n\n", (void *) comp);
 
     DumpArenaStats(&comp->compartmentStats[0], fp);
 }
 
 #endif
 
 } //gc
 } //js