Index: src/compiler/common-operator.h |
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h |
index 08553bceaa6ec7650d4ba96318c1c87f976f7a56..4d8b1694b1cb35e906f10be59e8cc3761befd3ed 100644 |
--- a/src/compiler/common-operator.h |
+++ b/src/compiler/common-operator.h |
@@ -136,10 +136,9 @@ class CommonOperatorBuilder final : public ZoneObject { |
const Operator* Finish(int arguments); |
const Operator* StateValues(int arguments); |
const Operator* TypedStateValues(const ZoneVector<MachineType>* types); |
- const Operator* FrameState(FrameStateType type, BailoutId bailout_id, |
+ const Operator* FrameState(BailoutId bailout_id, |
OutputFrameStateCombine state_combine, |
- MaybeHandle<SharedFunctionInfo> shared_info = |
- MaybeHandle<SharedFunctionInfo>()); |
+ const FrameStateFunctionInfo* function_info); |
const Operator* Call(const CallDescriptor* descriptor); |
const Operator* TailCall(const CallDescriptor* descriptor); |
const Operator* Projection(size_t index); |
@@ -148,6 +147,11 @@ class CommonOperatorBuilder final : public ZoneObject { |
// with {size} inputs. |
const Operator* ResizeMergeOrPhi(const Operator* op, int size); |
+ // Constructs function info for frame state construction. |
+ const FrameStateFunctionInfo* CreateFrameStateFunctionInfo( |
+ FrameStateType type, int parameter_count, int local_count, |
+ Handle<SharedFunctionInfo> shared_info); |
+ |
private: |
Zone* zone() const { return zone_; } |