зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset d8a111f0fb64 (bug 1115388)
This commit is contained in:
Родитель
5f8a951d8a
Коммит
f4487adf55
|
@ -1322,7 +1322,6 @@ class MSimdValueX4 : public MQuaternaryInstruction
|
|||
: MQuaternaryInstruction(x, y, z, w)
|
||||
{
|
||||
MOZ_ASSERT(IsSimdType(type));
|
||||
MOZ_ASSERT(SimdTypeToLength(type) == 4);
|
||||
mozilla::DebugOnly<MIRType> scalarType = SimdTypeToScalarType(type);
|
||||
MOZ_ASSERT(scalarType == x->type());
|
||||
MOZ_ASSERT(scalarType == y->type());
|
||||
|
@ -1342,10 +1341,6 @@ class MSimdValueX4 : public MQuaternaryInstruction
|
|||
return new(alloc) MSimdValueX4(type, x, y, z, w);
|
||||
}
|
||||
|
||||
bool canConsumeFloat32(MUse *use) const {
|
||||
return SimdTypeToScalarType(type()) == MIRType_Float32;
|
||||
}
|
||||
|
||||
AliasSet getAliasSet() const {
|
||||
return AliasSet::None();
|
||||
}
|
||||
|
@ -1382,10 +1377,6 @@ class MSimdSplatX4 : public MUnaryInstruction
|
|||
return new(alloc) MSimdSplatX4(type, v);
|
||||
}
|
||||
|
||||
bool canConsumeFloat32(MUse *use) const {
|
||||
return SimdTypeToScalarType(type()) == MIRType_Float32;
|
||||
}
|
||||
|
||||
AliasSet getAliasSet() const {
|
||||
return AliasSet::None();
|
||||
}
|
||||
|
@ -1567,10 +1558,6 @@ class MSimdInsertElement : public MBinaryInstruction
|
|||
return lane_;
|
||||
}
|
||||
|
||||
bool canConsumeFloat32(MUse *use) const {
|
||||
return use == getUseFor(1) && SimdTypeToScalarType(type()) == MIRType_Float32;
|
||||
}
|
||||
|
||||
AliasSet getAliasSet() const {
|
||||
return AliasSet::None();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче