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

Unified Diff: src/compiler/js-inlining.h

Issue 2626783003: [turbofan] Enable inlining based on SharedFunctionInfo. (Closed)
Patch Set: Rebased. Created 3 years, 10 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 | « no previous file | src/compiler/js-inlining.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-inlining.h
diff --git a/src/compiler/js-inlining.h b/src/compiler/js-inlining.h
index 9bb8ec46436d84477ee6695981604474ce8a240d..300938245077c5e86dd1862628f6623598104aa0 100644
--- a/src/compiler/js-inlining.h
+++ b/src/compiler/js-inlining.h
@@ -36,7 +36,7 @@ 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 ReduceJSCall(Node* node, Handle<JSFunction> function);
+ Reduction ReduceJSCall(Node* node);
private:
CommonOperatorBuilder* common() const;
@@ -50,6 +50,11 @@ class JSInliner final : public AdvancedReducer {
JSGraph* const jsgraph_;
SourcePositionTable* const source_positions_;
+ bool DetermineCallTarget(Node* node,
+ Handle<SharedFunctionInfo>& shared_info_out);
+ void DetermineCallContext(Node* node, Node*& context_out,
+ Handle<TypeFeedbackVector>& feedback_vector_out);
+
Node* CreateArtificialFrameState(Node* node, Node* outer_frame_state,
int parameter_count,
FrameStateType frame_state_type,
« no previous file with comments | « no previous file | src/compiler/js-inlining.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698