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 84068 7dde51205d2481b9ea33a409043461172f620849
parent 84067 9cfdb612a026c1960ec27e2f99e7438ec9837513
child 84069 fd89376a7ef287f26badf04b50027abd25143e82
push id4715
push userdholbert@mozilla.com
push dateMon, 09 Jan 2012 23:46:28 +0000
treeherdermozilla-inbound@7dde51205d24 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs716702
milestone12.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 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 */