Index: src/compiler/common-operator.cc |
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
index 406b18479f9a8999066f6fecdcd47abb4da2ebce..e5af14e98207dbbd0acbcb305747a657d7b9af96 100644 |
--- a/src/compiler/common-operator.cc |
+++ b/src/compiler/common-operator.cc |
@@ -688,15 +688,14 @@ const Operator* CommonOperatorBuilder::TypedStateValues( |
const Operator* CommonOperatorBuilder::FrameState( |
- FrameStateType type, BailoutId bailout_id, |
- OutputFrameStateCombine state_combine, |
- MaybeHandle<SharedFunctionInfo> shared_info) { |
- FrameStateCallInfo state_info(type, bailout_id, state_combine, shared_info); |
- return new (zone()) Operator1<FrameStateCallInfo>( // -- |
- IrOpcode::kFrameState, Operator::kPure, // opcode |
- "FrameState", // name |
- 5, 0, 0, 1, 0, 0, // counts |
- state_info); // parameter |
+ BailoutId bailout_id, OutputFrameStateCombine state_combine, |
+ const FrameStateFunctionInfo* function_info) { |
+ FrameStateInfo state_info(bailout_id, state_combine, function_info); |
+ return new (zone()) Operator1<FrameStateInfo>( // -- |
+ IrOpcode::kFrameState, Operator::kPure, // opcode |
+ "FrameState", // name |
+ 5, 0, 0, 1, 0, 0, // counts |
+ state_info); // parameter |
} |
@@ -776,6 +775,14 @@ const Operator* CommonOperatorBuilder::ResizeMergeOrPhi(const Operator* op, |
} |
+const FrameStateFunctionInfo* |
+CommonOperatorBuilder::CreateFrameStateFunctionInfo( |
+ FrameStateType type, int parameter_count, int local_count, |
+ Handle<SharedFunctionInfo> shared_info) { |
+ return new (zone()->New(sizeof(FrameStateFunctionInfo))) |
+ FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); |
+} |
+ |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |