mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1146311: Make some SIMD nodes cloneable and movable; r=sunfish
This commit is contained in:
parent
9d90deaf90
commit
0ee9483405
@ -1491,8 +1491,8 @@ class MSimdConstant
|
||||
protected:
|
||||
MSimdConstant(const SimdConstant &v, MIRType type) : value_(v) {
|
||||
MOZ_ASSERT(IsSimdType(type));
|
||||
setResultType(type);
|
||||
setMovable();
|
||||
setResultType(type);
|
||||
}
|
||||
|
||||
public:
|
||||
@ -1527,6 +1527,7 @@ class MSimdConvert
|
||||
: MUnaryInstruction(obj)
|
||||
{
|
||||
MOZ_ASSERT(IsSimdType(toType));
|
||||
setMovable();
|
||||
setResultType(toType);
|
||||
specialization_ = fromType; // expects fromType as input
|
||||
}
|
||||
@ -1564,6 +1565,7 @@ class MSimdReinterpretCast
|
||||
: MUnaryInstruction(obj)
|
||||
{
|
||||
MOZ_ASSERT(IsSimdType(toType));
|
||||
setMovable();
|
||||
setResultType(toType);
|
||||
specialization_ = fromType; // expects fromType as input
|
||||
}
|
||||
@ -1608,6 +1610,7 @@ class MSimdExtractElement
|
||||
MOZ_ASSERT(!IsSimdType(scalarType));
|
||||
MOZ_ASSERT(SimdTypeToScalarType(vecType) == scalarType);
|
||||
|
||||
setMovable();
|
||||
specialization_ = vecType;
|
||||
setResultType(scalarType);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user