Index: test/unittests/compiler/change-lowering-unittest.cc |
diff --git a/test/unittests/compiler/change-lowering-unittest.cc b/test/unittests/compiler/change-lowering-unittest.cc |
index a6a0db7ec43e1d8fc748f1a627a55fe9f8c0e93c..17d65131d12e0101c60fb529c4c52add8c415565 100644 |
--- a/test/unittests/compiler/change-lowering-unittest.cc |
+++ b/test/unittests/compiler/change-lowering-unittest.cc |
@@ -124,15 +124,9 @@ TARGET_TEST_P(ChangeLoweringCommonTest, ChangeBitToBool) { |
Node* node = graph()->NewNode(simplified()->ChangeBitToBool(), val); |
Reduction reduction = Reduce(node); |
ASSERT_TRUE(reduction.Changed()); |
- |
- Node* phi = reduction.replacement(); |
- Capture<Node*> branch; |
- EXPECT_THAT(phi, |
- IsPhi(static_cast<MachineType>(kTypeBool | kRepTagged), |
- IsTrueConstant(), IsFalseConstant(), |
- IsMerge(IsIfTrue(AllOf(CaptureEq(&branch), |
- IsBranch(val, graph()->start()))), |
- IsIfFalse(CaptureEq(&branch))))); |
+ EXPECT_THAT(reduction.replacement(), |
+ IsSelect(static_cast<MachineType>(kTypeBool | kRepTagged), val, |
+ IsTrueConstant(), IsFalseConstant())); |
} |