Index: test/cctest/compiler/test-js-typed-lowering.cc |
diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc |
index cf252c4c6c75843d87fe2883a05527e7bb3fb202..f4531d3e83f16ee36671d87b427b836bd1be397d 100644 |
--- a/test/cctest/compiler/test-js-typed-lowering.cc |
+++ b/test/cctest/compiler/test-js-typed-lowering.cc |
@@ -114,7 +114,12 @@ class JSTypedLoweringTester : public HandleAndZoneScope { |
Node* Binop(const Operator* op, Node* left, Node* right) { |
// JS binops also require context, effect, and control |
- return graph.NewNode(op, left, right, context(), start(), control()); |
+ if (OperatorProperties::HasFrameStateInput(op)) { |
+ return graph.NewNode(op, left, right, context(), |
+ EmptyFrameState(context()), start(), control()); |
+ } else { |
+ return graph.NewNode(op, left, right, context(), start(), control()); |
+ } |
} |
Node* Unop(const Operator* op, Node* input) { |