зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1064537: Fix build warning for multiline comment; r=h4writer
This commit is contained in:
Родитель
65c7f7ccb7
Коммит
a3d0568724
|
@ -1181,17 +1181,18 @@ MPhi::removeAllOperands()
|
|||
MDefinition *
|
||||
MPhi::foldsTernary()
|
||||
{
|
||||
// Look if this MPhi is a ternary construct.
|
||||
// This is a very loose term as it actually only checks for
|
||||
//
|
||||
// MTest X
|
||||
// / \
|
||||
// ... ...
|
||||
// \ /
|
||||
// MPhi X Y
|
||||
//
|
||||
// Which we will simply call:
|
||||
// x ? x : y or x ? y : x
|
||||
/* Look if this MPhi is a ternary construct.
|
||||
* This is a very loose term as it actually only checks for
|
||||
*
|
||||
* MTest X
|
||||
* / \
|
||||
* ... ...
|
||||
* \ /
|
||||
* MPhi X Y
|
||||
*
|
||||
* Which we will simply call:
|
||||
* x ? x : y or x ? y : x
|
||||
*/
|
||||
|
||||
if (numOperands() != 2)
|
||||
return nullptr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче