| Index: test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| diff --git a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| index 92b59d29270551d98bbb020f8e3d65c36d3e4860..01468cc022b36b5ec3cd977378586c0d7924a38f 100644
|
| --- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc
|
| @@ -267,7 +267,7 @@ TEST_F(JSIntrinsicLoweringTest, Likely) {
|
| Node* const to_boolean =
|
| graph()->NewNode(javascript()->ToBoolean(), likely, context);
|
| Diamond d(graph(), common(), to_boolean);
|
| - graph()->SetEnd(graph()->NewNode(common()->End(), d.merge));
|
| + graph()->SetEnd(graph()->NewNode(common()->End(1), d.merge));
|
|
|
| ASSERT_EQ(BranchHint::kNone, BranchHintOf(d.branch->op()));
|
| Reduction const r = Reduce(likely);
|
| @@ -362,7 +362,7 @@ TEST_F(JSIntrinsicLoweringTest, Unlikely) {
|
| Node* const to_boolean =
|
| graph()->NewNode(javascript()->ToBoolean(), unlikely, context);
|
| Diamond d(graph(), common(), to_boolean);
|
| - graph()->SetEnd(graph()->NewNode(common()->End(), d.merge));
|
| + graph()->SetEnd(graph()->NewNode(common()->End(1), d.merge));
|
|
|
| ASSERT_EQ(BranchHint::kNone, BranchHintOf(d.branch->op()));
|
| Reduction const r = Reduce(unlikely);
|
|
|