| 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 e23ad0cd169d091297556920d918e7378e70cc12..38867866ef518691dcdfe98f111e40b1c46f00e1 100644
|
| --- a/test/cctest/compiler/test-js-typed-lowering.cc
|
| +++ b/test/cctest/compiler/test-js-typed-lowering.cc
|
| @@ -118,7 +118,12 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
|
|
| Node* Unop(const Operator* op, Node* input) {
|
| // JS unops also require context, effect, and control
|
| - return graph.NewNode(op, input, context(), start(), control());
|
| + if (OperatorProperties::HasFrameStateInput(op)) {
|
| + return graph.NewNode(op, input, context(), EmptyFrameState(context()),
|
| + start(), control());
|
| + } else {
|
| + return graph.NewNode(op, input, context(), start(), control());
|
| + }
|
| }
|
|
|
| Node* UseForEffect(Node* node) {
|
|
|