summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-inlining.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-inlining.h')
-rw-r--r--deps/v8/src/compiler/js-inlining.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/deps/v8/src/compiler/js-inlining.h b/deps/v8/src/compiler/js-inlining.h
index 2ad49842f5..99eff96c4c 100644
--- a/deps/v8/src/compiler/js-inlining.h
+++ b/deps/v8/src/compiler/js-inlining.h
@@ -16,9 +16,6 @@ class CompilationInfo;
namespace compiler {
-// Forward declarations.
-class JSCallFunctionAccessor;
-
// The JSInliner provides the core graph inlining machinery. Note that this
// class only deals with the mechanics of how to inline one graph into another,
// heuristics that decide what and how much to inline are beyond its scope.
@@ -36,18 +33,20 @@ class JSInliner final : public AdvancedReducer {
// Can be used by inlining heuristics or by testing code directly, without
// using the above generic reducer interface of the inlining machinery.
- Reduction ReduceJSCallFunction(Node* node, Handle<JSFunction> function);
+ Reduction ReduceJSCall(Node* node, Handle<JSFunction> function);
private:
Zone* local_zone_;
CompilationInfo* info_;
JSGraph* jsgraph_;
- Node* CreateArgumentsAdaptorFrameState(
- JSCallFunctionAccessor* call, Handle<SharedFunctionInfo> shared_info);
+ Node* CreateArtificialFrameState(Node* node, Node* outer_frame_state,
+ int parameter_count,
+ FrameStateType frame_state_type,
+ Handle<SharedFunctionInfo> shared);
- Reduction InlineCall(Node* call, Node* context, Node* frame_state,
- Node* start, Node* end);
+ Reduction InlineCall(Node* call, Node* new_target, Node* context,
+ Node* frame_state, Node* start, Node* end);
};
} // namespace compiler