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 0b5930821654b5fc064c376b2499e550a43098b4..aedf139466d16b141706055a62c8121aec69261f 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -129,10 +129,11 @@ class TrivialDeoptCodegenTester : public DeoptCodegenTester { |
Node* locals = m.NewNode(common.TypedStateValues(&empty_types)); |
Node* stack = m.NewNode(common.TypedStateValues(&empty_types)); |
- Node* state_node = m.NewNode( |
- common.FrameState(JS_FRAME, bailout_id, |
- OutputFrameStateCombine::Ignore()), |
- parameters, locals, stack, caller_context_node, m.UndefinedConstant()); |
+ Node* state_node = |
+ m.NewNode(common.FrameState(JS_FRAME, bailout_id, |
+ OutputFrameStateCombine::Ignore()), |
+ parameters, locals, stack, caller_context_node, |
+ deopt_fun_node, m.UndefinedConstant()); |
Handle<Context> context(deopt_function->context(), CcTest::i_isolate()); |
Unique<Context> context_constant = |
@@ -245,10 +246,11 @@ class TrivialRuntimeDeoptCodegenTester : public DeoptCodegenTester { |
Node* locals = m.NewNode(common.TypedStateValues(&empty_types)); |
Node* stack = m.NewNode(common.TypedStateValues(&empty_types)); |
- Node* state_node = m.NewNode( |
- common.FrameState(JS_FRAME, bailout_id, |
- OutputFrameStateCombine::Ignore()), |
- parameters, locals, stack, context_node, m.UndefinedConstant()); |
+ Node* state_node = |
+ m.NewNode(common.FrameState(JS_FRAME, bailout_id, |
+ OutputFrameStateCombine::Ignore()), |
+ parameters, locals, stack, context_node, this_fun_node, |
+ m.UndefinedConstant()); |
m.CallRuntime1(Runtime::kDeoptimizeFunction, this_fun_node, context_node, |
state_node); |