Bug 716702: Fix C++-style comment in header 'jsopcode.h' that gets included in C code. r=bhackett
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 09 Jan 2012 15:45:54 -0800
changeset 85293 7dde51205d2481b9ea33a409043461172f620849
parent 85292 9cfdb612a026c1960ec27e2f99e7438ec9837513
child 85294 fd89376a7ef287f26badf04b50027abd25143e82
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs716702
milestone12.0a1
Bug 716702: Fix C++-style comment in header 'jsopcode.h' that gets included in C code. r=bhackett
js/src/jsopcode.h
--- a/js/src/jsopcode.h
+++ b/js/src/jsopcode.h
@@ -627,17 +627,17 @@ class OpcodeCounts
 
     double *rawCounts() { return counts; }
 
     double& get(size_t which) {
         JS_ASSERT(which < capacity);
         return counts[which];
     }
 
-    // Boolean conversion, for 'if (counters) ...'
+    /* Boolean conversion, for 'if (counters) ...' */
     operator void*() const {
         return counts;
     }
 };
 
 } /* namespace js */
 #endif /* __cplusplus */