Qualify every other has(T) call in RegisterSets.h to definitively preclude the random manifestation of a gcc ICE ever again. (See also prior cases in RegisterSets.h's history where such qualification was randomly added on an as-needed basis.) No bug, r=me as trivial

--HG--
extra : rebase_source : 1510328508fbd22e215e4bb44bfea4790808f8e8
This commit is contained in:
Jeff Walden 2018-07-24 13:38:52 -07:00
Родитель ede286432d
Коммит 42d3c2092f
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -750,13 +750,13 @@ class SpecializedRegSet : public Accessors
using Parent::addUnchecked;
void add(RegType reg) {
MOZ_ASSERT(!has(reg));
MOZ_ASSERT(!this->has(reg));
addUnchecked(reg);
}
using Parent::takeUnchecked;
void take(RegType reg) {
MOZ_ASSERT(has(reg));
MOZ_ASSERT(this->has(reg));
takeUnchecked(reg);
}
@ -789,7 +789,7 @@ class SpecializedRegSet : public Accessors
template <RegTypeName Name = RegSet::DefaultType>
RegType getAnyExcluding(RegType preclude) {
if (!has(preclude))
if (!this->has(preclude))
return getAny<Name>();
take(preclude);
@ -829,9 +829,9 @@ class SpecializedRegSet : public Accessors
bool aliases(ValueOperand v) const {
#ifdef JS_NUNBOX32
return has(v.typeReg()) || has(v.payloadReg());
return this->has(v.typeReg()) || this->has(v.payloadReg());
#else
return has(v.valueReg());
return this->has(v.valueReg());
#endif
}
@ -874,7 +874,7 @@ class SpecializedRegSet<Accessors, RegisterSet> : public Accessors
using Parent::has;
bool has(AnyRegister reg) const {
return reg.isFloat() ? has(reg.fpu()) : has(reg.gpr());
return reg.isFloat() ? this->has(reg.fpu()) : this->has(reg.gpr());
}
template <RegTypeName Name>
@ -893,11 +893,11 @@ class SpecializedRegSet<Accessors, RegisterSet> : public Accessors
}
void add(Register reg) {
MOZ_ASSERT(!has(reg));
MOZ_ASSERT(!this->has(reg));
addUnchecked(reg);
}
void add(FloatRegister reg) {
MOZ_ASSERT(!has(reg));
MOZ_ASSERT(!this->has(reg));
addUnchecked(reg);
}
void add(AnyRegister reg) {