Index: src/compiler/control-reducer.cc |
diff --git a/src/compiler/control-reducer.cc b/src/compiler/control-reducer.cc |
index df84d525a4e4da8ec39f939ccd995a49064e048b..82a21e274728fbab31af0f5a142c1ffd1e68cff8 100644 |
--- a/src/compiler/control-reducer.cc |
+++ b/src/compiler/control-reducer.cc |
@@ -547,8 +547,8 @@ class ControlReducerImpl { |
Node* node1 = node->InputAt(1); |
if (((node0->opcode() == IrOpcode::kIfTrue && |
node1->opcode() == IrOpcode::kIfFalse) || |
- (node0->opcode() == IrOpcode::kIfTrue && |
- node1->opcode() == IrOpcode::kIfFalse)) && |
+ (node1->opcode() == IrOpcode::kIfTrue && |
+ node0->opcode() == IrOpcode::kIfFalse)) && |
node0->OwnedBy(node) && node1->OwnedBy(node)) { |
Node* branch0 = NodeProperties::GetControlInput(node0); |
Node* branch1 = NodeProperties::GetControlInput(node1); |