Bug 1514189 - Fix build bustage in opt builds with --enable-gczeal r=jandem
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 14 Dec 2018 13:47:09 +0000
changeset 450608 e4aa68e2a85b027c5498bf8d8f379b06d07df6c2
parent 450607 9f01fb6fbbfd2c05cdfc7269e7575f1e7e2e769e
child 450609 52293f0ed89d1da17ddff48b0a8f5d9a69ec4248
push id35208
push usercsabou@mozilla.com
push dateSat, 15 Dec 2018 02:48:07 +0000
treeherdermozilla-central@d86d184dc7d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjandem
bugs1514189
milestone66.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 1514189 - Fix build bustage in opt builds with --enable-gczeal r=jandem
js/src/gc/Verifier.cpp
--- a/js/src/gc/Verifier.cpp
+++ b/js/src/gc/Verifier.cpp
@@ -770,17 +770,17 @@ bool js::gc::CheckWeakMapEntryMarking(co
   JSObject* object = map->memberOf;
   MOZ_ASSERT_IF(object, object->zone() == zone);
 
   // Debugger weak maps can have keys in different zones.
   Zone* keyZone = GetCellZone(key);
   MOZ_ASSERT_IF(!map->allowKeysInOtherZones(),
                 keyZone == zone || keyZone->isAtomsZone());
 
-  DebugOnly<Zone*> valueZone = GetCellZone(value);
+  Zone* valueZone = GetCellZone(value);
   MOZ_ASSERT(valueZone == zone || valueZone->isAtomsZone());
 
   // We may not know the color of the map, but we know that it's
   // alive so it must at least be marked gray.
   CellColor mapColor = object ? GetCellColor(object) : CellColor::Gray;
 
   CellColor keyColor = GetCellColor(key);
   CellColor valueColor = valueZone->isGCMarking() ? GetCellColor(value)