Bug 1278752 (part 2) - Make explicit the ignoring of a hasStableClassAndProto() return value. r=bhackett.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 03 Jun 2016 16:15:50 +1000
changeset 302135 87f4fe4848c26efe073ed77313aac00ffd437060
parent 302134 d1e5d75a2e9d6f46a48bc66c243dcfeb2cd40788
child 302136 2c64b2476147f216c14e22f997d26722e50b673a
push id78614
push usernnethercote@mozilla.com
push dateTue, 21 Jun 2016 05:48:51 +0000
treeherdermozilla-inbound@87f4fe4848c2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs1278752
milestone50.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 1278752 (part 2) - Make explicit the ignoring of a hasStableClassAndProto() return value. r=bhackett.
js/src/jit/MIR.cpp
--- a/js/src/jit/MIR.cpp
+++ b/js/src/jit/MIR.cpp
@@ -763,17 +763,17 @@ MConstant::NewConstraintlessObject(TempA
 static TemporaryTypeSet*
 MakeSingletonTypeSetFromKey(CompilerConstraintList* constraints, TypeSet::ObjectKey* key)
 {
     // Invalidate when this object's ObjectGroup gets unknown properties. This
     // happens for instance when we mutate an object's __proto__, in this case
     // we want to invalidate and mark this TypeSet as containing AnyObject
     // (because mutating __proto__ will change an object's ObjectGroup).
     MOZ_ASSERT(constraints);
-    key->hasStableClassAndProto(constraints);
+    (void)key->hasStableClassAndProto(constraints);
 
     LifoAlloc* alloc = GetJitContext()->temp->lifoAlloc();
     return alloc->new_<TemporaryTypeSet>(alloc, TypeSet::ObjectType(key));
 }
 
 TemporaryTypeSet*
 jit::MakeSingletonTypeSet(CompilerConstraintList* constraints, JSObject* obj)
 {