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 7c5e05ab8a22ca7665429ae03b3e8e6d717a62f7..60eca2a91a7bf501ca9f373d252611742dc78fe1 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -150,9 +150,9 @@ class TrivialDeoptCodegenTester : public DeoptCodegenTester { |
Node* locals = m.NewNode(common.StateValues(0)); |
Node* stack = m.NewNode(common.StateValues(0)); |
- Node* state_node = |
- m.NewNode(common.FrameState(bailout_id, kIgnoreOutput), parameters, |
- locals, stack, caller_context_node, m.UndefinedConstant()); |
+ Node* state_node = m.NewNode( |
+ common.FrameState(JS_FRAME, bailout_id, kIgnoreOutput), parameters, |
+ locals, stack, caller_context_node, m.UndefinedConstant()); |
Handle<Context> context(deopt_function->context(), CcTest::i_isolate()); |
Unique<Object> context_constant = |
@@ -264,9 +264,9 @@ class TrivialRuntimeDeoptCodegenTester : public DeoptCodegenTester { |
Node* locals = m.NewNode(common.StateValues(0)); |
Node* stack = m.NewNode(common.StateValues(0)); |
- Node* state_node = |
- m.NewNode(common.FrameState(bailout_id, kIgnoreOutput), parameters, |
- locals, stack, context_node, m.UndefinedConstant()); |
+ Node* state_node = m.NewNode( |
+ common.FrameState(JS_FRAME, bailout_id, kIgnoreOutput), parameters, |
+ locals, stack, context_node, m.UndefinedConstant()); |
m.CallRuntime1(Runtime::kDeoptimizeFunction, this_fun_node, context_node, |
state_node); |