Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index bcb6aee5f3077d8bd33f75508d4894bf824aa287..24261594cc496643c9dcba0ea6975186deaa4ebd 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -149,8 +149,12 @@ class TrivialDeoptCodegenTester : public DeoptCodegenTester { |
m.NewNode(common.LazyDeoptimization(), call); |
bailout_id = GetCallBailoutId(); |
- FrameStateDescriptor stateDescriptor(bailout_id); |
- Node* state_node = m.NewNode(common.FrameState(stateDescriptor)); |
+ Node* parameters = m.NewNode(common.StateValues(1), undef_node); |
+ Node* locals = m.NewNode(common.StateValues(0)); |
+ Node* stack = m.NewNode(common.StateValues(0)); |
+ |
+ Node* state_node = |
+ m.NewNode(common.FrameState(bailout_id), parameters, locals, stack); |
m.Deoptimize(state_node); |
// Schedule the graph: |
@@ -280,8 +284,12 @@ class TrivialRuntimeDeoptCodegenTester : public DeoptCodegenTester { |
m.NewNode(common.LazyDeoptimization(), call); |
bailout_id = GetCallBailoutId(); |
- FrameStateDescriptor stateDescriptor(bailout_id); |
- Node* state_node = m.NewNode(common.FrameState(stateDescriptor)); |
+ Node* parameters = m.NewNode(common.StateValues(1), undef_node); |
+ Node* locals = m.NewNode(common.StateValues(0)); |
+ Node* stack = m.NewNode(common.StateValues(0)); |
+ |
+ Node* state_node = |
+ m.NewNode(common.FrameState(bailout_id), parameters, locals, stack); |
m.Deoptimize(state_node); |
// Schedule the graph: |