Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: src/compiler/common-operator.h

Issue 1191243003: [turbofan] Factor out the function specific part from the frame state operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tweaks Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_; }
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698