зеркало из https://github.com/mozilla/gecko-dev.git
Bug 876607 - Fix accidental switching of lhs/rhs in the code, rs=luke
This commit is contained in:
Родитель
fc6205c596
Коммит
0d52a584cb
|
@ -863,7 +863,7 @@ ReorderCommutative(MDefinition **lhsp, MDefinition **rhsp)
|
|||
return;
|
||||
|
||||
if (lhs->isConstant() ||
|
||||
(lhs->defUseCount() == 1 && rhs->defUseCount() != 1))
|
||||
(rhs->defUseCount() == 1 && lhs->defUseCount() > 1))
|
||||
{
|
||||
*rhsp = lhs;
|
||||
*lhsp = rhs;
|
||||
|
|
Загрузка…
Ссылка в новой задаче