Backed out changeset f9c865b93ecd (bug 1533777) because it landed with the wrong patch author. a=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 26 Mar 2019 21:38:23 +0100
changeset 466339 07595d5c98d2137f0a7dd4334b0c315988b8642e
parent 466338 f9c865b93ecd4d184b50de9a5ca9da15928c27a8
child 466340 16f19322ec762261a5abe9e70c935e6e6bf90582
push id35764
push useraciure@mozilla.com
push dateWed, 27 Mar 2019 16:35:35 +0000
treeherdermozilla-central@16f19322ec76 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1533777
milestone68.0a1
backs outf9c865b93ecd4d184b50de9a5ca9da15928c27a8
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
Backed out changeset f9c865b93ecd (bug 1533777) because it landed with the wrong patch author. a=backout
mfbt/CheckedInt.h
--- a/mfbt/CheckedInt.h
+++ b/mfbt/CheckedInt.h
@@ -527,17 +527,17 @@ class CheckedInt {
   /** Constructs a valid checked integer with initial value 0 */
   constexpr CheckedInt() : mValue(0), mIsValid(true) {
     static_assert(detail::IsSupported<T>::value,
                   "This type is not supported by CheckedInt");
   }
 
   /** @returns the actual value */
   T value() const {
-    MOZ_RELEASE_ASSERT(
+    MOZ_ASSERT(
         mIsValid,
         "Invalid checked integer (division by zero or integer overflow)");
     return mValue;
   }
 
   /**
    * @returns true if the checked integer is valid, i.e. is not the result
    * of an invalid operation or of an operation involving an invalid checked