зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4f1a16baf2
Коммит
007657e3a2
|
@ -6977,7 +6977,7 @@ class MStringReplace
|
||||||
|
|
||||||
class MSubstr
|
class MSubstr
|
||||||
: public MTernaryInstruction,
|
: public MTernaryInstruction,
|
||||||
public Mix3Policy<StringPolicy<0>, IntPolicy<1>, IntPolicy<2>>
|
public Mix3Policy<StringPolicy<0>, IntPolicy<1>, IntPolicy<2>>::Data
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -12082,7 +12082,7 @@ class MMemoryBarrier
|
||||||
|
|
||||||
class MCompareExchangeTypedArrayElement
|
class MCompareExchangeTypedArrayElement
|
||||||
: public MAryInstruction<4>,
|
: 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_;
|
Scalar::Type arrayType_;
|
||||||
|
|
||||||
|
@ -12137,7 +12137,7 @@ class MCompareExchangeTypedArrayElement
|
||||||
|
|
||||||
class MAtomicTypedArrayElementBinop
|
class MAtomicTypedArrayElementBinop
|
||||||
: public MAryInstruction<3>,
|
: public MAryInstruction<3>,
|
||||||
public Mix3Policy< ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >
|
public Mix3Policy< ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >::Data
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
AtomicOp op_;
|
AtomicOp op_;
|
||||||
|
|
|
@ -993,6 +993,7 @@ FilterTypeSetPolicy::adjustInputs(TempAllocator &alloc, MInstruction *ins)
|
||||||
_(Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, BoxPolicy<2> >) \
|
_(Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, BoxPolicy<2> >) \
|
||||||
_(Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >) \
|
_(Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >) \
|
||||||
_(Mix3Policy<ObjectPolicy<0>, ObjectPolicy<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>, ObjectPolicy<1>, StringPolicy<2> >) \
|
||||||
_(Mix3Policy<StringPolicy<0>, StringPolicy<1>, StringPolicy<2> >) \
|
_(Mix3Policy<StringPolicy<0>, StringPolicy<1>, StringPolicy<2> >) \
|
||||||
_(MixPolicy<BoxPolicy<0>, ObjectPolicy<1> >) \
|
_(MixPolicy<BoxPolicy<0>, ObjectPolicy<1> >) \
|
||||||
|
@ -1011,6 +1012,8 @@ FilterTypeSetPolicy::adjustInputs(TempAllocator &alloc, MInstruction *ins)
|
||||||
_(MixPolicy<ObjectPolicy<1>, ConvertToStringPolicy<0> >) \
|
_(MixPolicy<ObjectPolicy<1>, ConvertToStringPolicy<0> >) \
|
||||||
_(MixPolicy<StringPolicy<0>, IntPolicy<1> >) \
|
_(MixPolicy<StringPolicy<0>, IntPolicy<1> >) \
|
||||||
_(MixPolicy<StringPolicy<0>, StringPolicy<1> >) \
|
_(MixPolicy<StringPolicy<0>, StringPolicy<1> >) \
|
||||||
|
_(MixPolicy<MixPolicy<ObjectPolicy<0>, IntPolicy<1>>, \
|
||||||
|
MixPolicy<IntPolicy<2>, IntPolicy<3>>>) \
|
||||||
_(NoFloatPolicy<0>) \
|
_(NoFloatPolicy<0>) \
|
||||||
_(NoFloatPolicyAfter<1>) \
|
_(NoFloatPolicyAfter<1>) \
|
||||||
_(NoFloatPolicyAfter<2>) \
|
_(NoFloatPolicyAfter<2>) \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче