try: -b do -p all -u all -t none
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 27 Apr 2017 18:02:23 +0300
changeset 1107586 e513fb8f97cc400aceab987a35f81167d59c8cd1
parent 1107487 2a716e04af308ea9a4f0961bb3b8f6f140fe24e1
child 1107774 bc7fceeb165aaae910c9e32f91e0250fe4cc6732
push id185919
push useropettay@mozilla.com
push dateThu, 27 Apr 2017 15:02:48 +0000
treeherdertry@e513fb8f97cc [default view] [failures only]
milestone55.0a1
try: -b do -p all -u all -t none
mfbt/SegmentedVector.h
--- a/mfbt/SegmentedVector.h
+++ b/mfbt/SegmentedVector.h
@@ -255,17 +255,16 @@ public:
         return;
       }
     } while (true);
 
     // Handle the case where the last segment contains more elements
     // than we want to pop.
     MOZ_ASSERT(last);
     MOZ_ASSERT(last == mSegments.getLast());
-    MOZ_ASSERT(aNumElements != 0);
     MOZ_ASSERT(aNumElements < last->Length());
     for (uint32_t i = 0; i < aNumElements; ++i) {
       last->PopLast();
     }
     MOZ_ASSERT(last->Length() != 0);
   }
 
   // Use this class to iterate over a SegmentedVector, like so: