Index: test/unittests/compiler/js-context-relaxation-unittest.cc |
diff --git a/test/unittests/compiler/js-context-relaxation-unittest.cc b/test/unittests/compiler/js-context-relaxation-unittest.cc |
index c0cdeb383cbba04f7b2ca63b3af3ae64b5a69537..4cc8f17509db651d98bf6ea1f292980031e097e7 100644 |
--- a/test/unittests/compiler/js-context-relaxation-unittest.cc |
+++ b/test/unittests/compiler/js-context-relaxation-unittest.cc |
@@ -201,11 +201,12 @@ TEST_F(JSContextRelaxationTest, |
Node* const input1 = Parameter(1); |
Node* const context = Parameter(2); |
Node* const outer_context = Parameter(3); |
- const Operator* op = javascript()->CreateBlockContext(); |
+ Handle<ScopeInfo> scope_info = Handle<ScopeInfo>::null(); |
+ const Operator* op = javascript()->CreateBlockContext(scope_info); |
Node* const effect = graph()->start(); |
Node* const control = graph()->start(); |
- Node* nested_context = graph()->NewNode( |
- op, graph()->start(), graph()->start(), outer_context, effect, control); |
+ Node* nested_context = |
+ graph()->NewNode(op, graph()->start(), outer_context, effect, control); |
Node* const frame_state_2 = |
ShallowFrameStateChain(nested_context, CALL_MAINTAINS_NATIVE_CONTEXT); |
Node* node = |
@@ -224,14 +225,14 @@ TEST_F(JSContextRelaxationTest, |
Node* const input1 = Parameter(1); |
Node* const context = Parameter(2); |
Node* const outer_context = Parameter(3); |
- const Operator* op = javascript()->CreateScriptContext(); |
+ Handle<ScopeInfo> scope_info = Handle<ScopeInfo>::null(); |
+ const Operator* op = javascript()->CreateScriptContext(scope_info); |
Node* const frame_state_1 = |
ShallowFrameStateChain(outer_context, CALL_MAINTAINS_NATIVE_CONTEXT); |
Node* const effect = graph()->start(); |
Node* const control = graph()->start(); |
- Node* nested_context = |
- graph()->NewNode(op, graph()->start(), graph()->start(), outer_context, |
- frame_state_1, effect, control); |
+ Node* nested_context = graph()->NewNode(op, graph()->start(), outer_context, |
+ frame_state_1, effect, control); |
Node* const frame_state_2 = |
ShallowFrameStateChain(nested_context, CALL_MAINTAINS_NATIVE_CONTEXT); |
Node* node = |