Change a couple comments to MOZ_ASSERT from the removed JS_ASSERT. No bug, r=trivial
authorJeff Walden <jwalden@mit.edu>
Thu, 02 Oct 2014 15:32:50 -0700
changeset 225499 cad1cbc2598f5d3b94433c79bbffd7ef106e520c
parent 225498 8870dc5bfa717b58bb31eff69955be035bc7d96f
child 225500 9ffc95fd87d3e8adbb33b3ea168d563f1085073e
push id7107
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 17:43:31 +0000
treeherdermozilla-aurora@b4b34e0acc75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial
milestone35.0a1
Change a couple comments to MOZ_ASSERT from the removed JS_ASSERT. No bug, r=trivial
js/src/jit/RangeAnalysis.h
js/src/vm/Runtime.cpp
--- a/js/src/jit/RangeAnalysis.h
+++ b/js/src/jit/RangeAnalysis.h
@@ -193,17 +193,17 @@ class Range : public TempObject {
 
     bool canHaveFractionalPart_;
     uint16_t max_exponent_;
 
     // Any symbolic lower or upper bound computed for this term.
     const SymbolicBound *symbolicLower_;
     const SymbolicBound *symbolicUpper_;
 
-    // This function simply makes several JS_ASSERTs to verify the internal
+    // This function simply makes several MOZ_ASSERTs to verify the internal
     // consistency of this range.
     void assertInvariants() const {
         // Basic sanity :).
         MOZ_ASSERT(lower_ <= upper_);
 
         // When hasInt32LowerBound_ or hasInt32UpperBound_ are false, we set
         // lower_ and upper_ to these specific values as it simplifies the
         // implementation in some places.
--- a/js/src/vm/Runtime.cpp
+++ b/js/src/vm/Runtime.cpp
@@ -394,17 +394,17 @@ JSRuntime::~JSRuntime()
 
     /*
      * Even though all objects in the compartment are dead, we may have keep
      * some filenames around because of gcKeepAtoms.
      */
     FreeScriptData(this);
 
 #ifdef DEBUG
-    /* Don't hurt everyone in leaky ol' Mozilla with a fatal JS_ASSERT! */
+    /* Don't hurt everyone in leaky ol' Mozilla with a fatal MOZ_ASSERT! */
     if (hasContexts()) {
         unsigned cxcount = 0;
         for (ContextIter acx(this); !acx.done(); acx.next()) {
             fprintf(stderr,
 "JS API usage error: found live context at %p\n",
                     (void *) acx.get());
             cxcount++;
         }