Bug 1054394 - Avoid clang internal compiler error in Zone.h. r=jfkthame
authorSeth Fowler <seth@mozilla.com>
Mon, 18 Aug 2014 16:01:20 -0700
changeset 200213 ea9d82ca538711559556f0a5422654f29b6e3b17
parent 200212 a62e4d356ef3a818f6fa4d8f113792256d87f25b
child 200214 f9daf1a7141a76412f8985fa868e748f3f4125fe
push id47837
push usermfowler@mozilla.com
push dateMon, 18 Aug 2014 23:01:44 +0000
treeherdermozilla-inbound@ea9d82ca5387 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs1054394
milestone34.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 1054394 - Avoid clang internal compiler error in Zone.h. r=jfkthame
js/src/gc/Zone.h
--- a/js/src/gc/Zone.h
+++ b/js/src/gc/Zone.h
@@ -416,17 +416,17 @@ class CompartmentsIterT
         else
             comp.emplace(zone);
     }
 
     bool done() const { return zone.done(); }
 
     void next() {
         JS_ASSERT(!done());
-        JS_ASSERT(!comp->done());
+        JS_ASSERT(!comp.ref().done());
         comp->next();
         if (comp->done()) {
             comp.reset();
             zone.next();
             if (!zone.done())
                 comp.emplace(zone);
         }
     }