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 99f45749608eadd5b040d273b15bd53ff8c551c8..9d5b6494717501120ea1f471bdc6e6128a907ea9 100644 |
--- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
@@ -310,7 +310,7 @@ TEST_F(JSIntrinsicLoweringTest, Likely) { |
graph()->NewNode(javascript()->CallRuntime(Runtime::kInlineLikely, 1), |
input, context, effect, control); |
Node* const to_boolean = |
- graph()->NewNode(javascript()->ToBoolean(), likely, context); |
+ graph()->NewNode(javascript()->ToBoolean(), likely, context, effect); |
Diamond d(graph(), common(), to_boolean); |
graph()->SetEnd(graph()->NewNode(common()->End(1), d.merge)); |
@@ -405,7 +405,7 @@ TEST_F(JSIntrinsicLoweringTest, Unlikely) { |
graph()->NewNode(javascript()->CallRuntime(Runtime::kInlineUnlikely, 1), |
input, context, effect, control); |
Node* const to_boolean = |
- graph()->NewNode(javascript()->ToBoolean(), unlikely, context); |
+ graph()->NewNode(javascript()->ToBoolean(), unlikely, context, effect); |
Diamond d(graph(), common(), to_boolean); |
graph()->SetEnd(graph()->NewNode(common()->End(1), d.merge)); |