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/js-call-reducer.h

Issue 2839953002: [turbofan] Optimize API function calls based on inferred receiver maps. (Closed)
Patch Set: REBASE Created 3 years, 8 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-call-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-call-reducer.h
diff --git a/src/compiler/js-call-reducer.h b/src/compiler/js-call-reducer.h
index 48ec33f9f2b4f428a8479ff5eda216a5bb45baae..31326084cc6b478c6263db5d2843b566d2f422c2 100644
--- a/src/compiler/js-call-reducer.h
+++ b/src/compiler/js-call-reducer.h
@@ -41,8 +41,7 @@ class JSCallReducer final : public AdvancedReducer {
Reduction ReduceArrayConstructor(Node* node);
Reduction ReduceBooleanConstructor(Node* node);
Reduction ReduceCallApiFunction(
- Node* node, Node* target,
- Handle<FunctionTemplateInfo> function_template_info);
+ Node* node, Handle<FunctionTemplateInfo> function_template_info);
Reduction ReduceNumberConstructor(Node* node);
Reduction ReduceFunctionPrototypeApply(Node* node);
Reduction ReduceFunctionPrototypeCall(Node* node);
@@ -57,17 +56,12 @@ class JSCallReducer final : public AdvancedReducer {
Reduction ReduceJSCall(Node* node);
Reduction ReduceJSCallWithSpread(Node* node);
- enum HolderLookup { kHolderNotFound, kHolderIsReceiver, kHolderFound };
-
- HolderLookup LookupHolder(Handle<JSObject> object,
- Handle<FunctionTemplateInfo> function_template_info,
- Handle<JSObject>* holder);
-
Graph* graph() const;
JSGraph* jsgraph() const { return jsgraph_; }
Isolate* isolate() const;
Factory* factory() const;
Handle<Context> native_context() const { return native_context_; }
+ Handle<JSGlobalProxy> global_proxy() const;
CommonOperatorBuilder* common() const;
JSOperatorBuilder* javascript() const;
SimplifiedOperatorBuilder* simplified() const;
« no previous file with comments | « no previous file | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698