mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1116591 - Actually give a few MIR opcodes a type policy where they clearly intended to have one but failed to say the magic words correctly. r=nbp
This commit is contained in:
parent
90e82029b2
commit
7e70950784
@ -6977,7 +6977,7 @@ class MStringReplace
|
||||
|
||||
class MSubstr
|
||||
: public MTernaryInstruction,
|
||||
public Mix3Policy<StringPolicy<0>, IntPolicy<1>, IntPolicy<2>>
|
||||
public Mix3Policy<StringPolicy<0>, IntPolicy<1>, IntPolicy<2>>::Data
|
||||
{
|
||||
private:
|
||||
|
||||
@ -12082,7 +12082,7 @@ class MMemoryBarrier
|
||||
|
||||
class MCompareExchangeTypedArrayElement
|
||||
: public MAryInstruction<4>,
|
||||
public MixPolicy< MixPolicy<ObjectPolicy<0>, IntPolicy<1> >, MixPolicy<IntPolicy<2>, IntPolicy<3> > >
|
||||
public MixPolicy< MixPolicy<ObjectPolicy<0>, IntPolicy<1> >, MixPolicy<IntPolicy<2>, IntPolicy<3> > >::Data
|
||||
{
|
||||
Scalar::Type arrayType_;
|
||||
|
||||
@ -12137,7 +12137,7 @@ class MCompareExchangeTypedArrayElement
|
||||
|
||||
class MAtomicTypedArrayElementBinop
|
||||
: public MAryInstruction<3>,
|
||||
public Mix3Policy< ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >
|
||||
public Mix3Policy< ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >::Data
|
||||
{
|
||||
private:
|
||||
AtomicOp op_;
|
||||
|
@ -993,6 +993,7 @@ FilterTypeSetPolicy::adjustInputs(TempAllocator &alloc, MInstruction *ins)
|
||||
_(Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, BoxPolicy<2> >) \
|
||||
_(Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >) \
|
||||
_(Mix3Policy<ObjectPolicy<0>, ObjectPolicy<1>, IntPolicy<2> >) \
|
||||
_(Mix3Policy<StringPolicy<0>, IntPolicy<1>, IntPolicy<2>>) \
|
||||
_(Mix3Policy<StringPolicy<0>, ObjectPolicy<1>, StringPolicy<2> >) \
|
||||
_(Mix3Policy<StringPolicy<0>, StringPolicy<1>, StringPolicy<2> >) \
|
||||
_(MixPolicy<BoxPolicy<0>, ObjectPolicy<1> >) \
|
||||
@ -1011,6 +1012,8 @@ FilterTypeSetPolicy::adjustInputs(TempAllocator &alloc, MInstruction *ins)
|
||||
_(MixPolicy<ObjectPolicy<1>, ConvertToStringPolicy<0> >) \
|
||||
_(MixPolicy<StringPolicy<0>, IntPolicy<1> >) \
|
||||
_(MixPolicy<StringPolicy<0>, StringPolicy<1> >) \
|
||||
_(MixPolicy<MixPolicy<ObjectPolicy<0>, IntPolicy<1>>, \
|
||||
MixPolicy<IntPolicy<2>, IntPolicy<3>>>) \
|
||||
_(NoFloatPolicy<0>) \
|
||||
_(NoFloatPolicyAfter<1>) \
|
||||
_(NoFloatPolicyAfter<2>) \
|
||||
|
Loading…
Reference in New Issue
Block a user