Index: test/unittests/compiler/liveness-analyzer-unittest.cc |
diff --git a/test/unittests/compiler/liveness-analyzer-unittest.cc b/test/unittests/compiler/liveness-analyzer-unittest.cc |
index d5a95ccd1dbf7c12cc80931aa7d5022821b8486f..1e142550d53bb7ebfc4c3ddaaa71d6fed12fe16e 100644 |
--- a/test/unittests/compiler/liveness-analyzer-unittest.cc |
+++ b/test/unittests/compiler/liveness-analyzer-unittest.cc |
@@ -57,8 +57,13 @@ class LivenessAnalysisTest : public GraphTest { |
Node* locals = |
graph()->NewNode(locals_op, locals_count_, &local_inputs.front()); |
+ const FrameStateFunctionInfo* state_info = |
+ common()->CreateFrameStateFunctionInfo( |
+ FrameStateType::kJavaScriptFunction, 0, locals_count_, |
+ Handle<SharedFunctionInfo>()); |
+ |
const Operator* op = common()->FrameState( |
- JS_FRAME, BailoutId(ast_num), OutputFrameStateCombine::Ignore()); |
+ BailoutId(ast_num), OutputFrameStateCombine::Ignore(), state_info); |
Node* result = graph()->NewNode(op, empty_values_, locals, empty_values_, |
jsgraph()->UndefinedConstant(), |
jsgraph()->UndefinedConstant()); |
@@ -93,8 +98,7 @@ class LivenessAnalysisTest : public GraphTest { |
} |
DCHECK(frame_state->opcode() == IrOpcode::kFrameState); |
- FrameStateCallInfo state_info = |
- OpParameter<FrameStateCallInfo>(frame_state); |
+ FrameStateInfo state_info = OpParameter<FrameStateInfo>(frame_state); |
int ast_num = state_info.bailout_id().ToInt(); |
int first_const = intconst_from_bailout_id(ast_num, locals_count_); |