Backed out changeset 7151850b2933 (bug 1421345) - dependency bug 1406727 hasn't been uplifted yet. a=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 17 Jan 2018 13:54:44 +0200
changeset 445680 9373b4bc3dd7a187baf7da6f26cd8050e7c2e231
parent 445679 571ae115f2de6aedeb1de20a80a81b4067219921
child 445681 04728698613cacf16253dd7fabf22f596c5b6044
push id1627
push userarchaeopteryx@coole-files.de
push dateWed, 17 Jan 2018 11:55:19 +0000
treeherdermozilla-release@9373b4bc3dd7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1421345, 1406727
milestone58.0
backs out7151850b2933e3ae6e41435461545db63b6591c9
Backed out changeset 7151850b2933 (bug 1421345) - dependency bug 1406727 hasn't been uplifted yet. a=backout
xpcom/ds/ArenaAllocator.h
--- a/xpcom/ds/ArenaAllocator.h
+++ b/xpcom/ds/ArenaAllocator.h
@@ -170,19 +170,17 @@ private:
 
     /**
      * Allocates a chunk of memory out of the arena and advances the offset.
      */
     void* Allocate(size_t aSize)
     {
       MOZ_ASSERT(aSize <= Available());
       char* p = reinterpret_cast<char*>(header.offset);
-      MOZ_RELEASE_ASSERT(p);
       header.offset += aSize;
-      canary.Check();
       MOZ_MAKE_MEM_UNDEFINED(p, aSize);
       return p;
     }
 
     /**
      * Calculates the amount of space available for allocation in this chunk.
      */
     size_t Available() const {