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

Side by Side Diff: src/compiler/js-call-reducer.h

Issue 2782143003: [turbofan] Inline calls to the Boolean constructor. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/js-call-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_JS_CALL_REDUCER_H_ 5 #ifndef V8_COMPILER_JS_CALL_REDUCER_H_
6 #define V8_COMPILER_JS_CALL_REDUCER_H_ 6 #define V8_COMPILER_JS_CALL_REDUCER_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 10
(...skipping 21 matching lines...) Expand all
32 CompilationDependencies* dependencies) 32 CompilationDependencies* dependencies)
33 : AdvancedReducer(editor), 33 : AdvancedReducer(editor),
34 jsgraph_(jsgraph), 34 jsgraph_(jsgraph),
35 native_context_(native_context), 35 native_context_(native_context),
36 dependencies_(dependencies) {} 36 dependencies_(dependencies) {}
37 37
38 Reduction Reduce(Node* node) final; 38 Reduction Reduce(Node* node) final;
39 39
40 private: 40 private:
41 Reduction ReduceArrayConstructor(Node* node); 41 Reduction ReduceArrayConstructor(Node* node);
42 Reduction ReduceBooleanConstructor(Node* node);
42 Reduction ReduceCallApiFunction( 43 Reduction ReduceCallApiFunction(
43 Node* node, Node* target, 44 Node* node, Node* target,
44 Handle<FunctionTemplateInfo> function_template_info); 45 Handle<FunctionTemplateInfo> function_template_info);
45 Reduction ReduceNumberConstructor(Node* node); 46 Reduction ReduceNumberConstructor(Node* node);
46 Reduction ReduceFunctionPrototypeApply(Node* node); 47 Reduction ReduceFunctionPrototypeApply(Node* node);
47 Reduction ReduceFunctionPrototypeCall(Node* node); 48 Reduction ReduceFunctionPrototypeCall(Node* node);
48 Reduction ReduceFunctionPrototypeHasInstance(Node* node); 49 Reduction ReduceFunctionPrototypeHasInstance(Node* node);
49 Reduction ReduceObjectPrototypeGetProto(Node* node); 50 Reduction ReduceObjectPrototypeGetProto(Node* node);
50 Reduction ReduceSpreadCall(Node* node, int arity); 51 Reduction ReduceSpreadCall(Node* node, int arity);
51 Reduction ReduceJSConstruct(Node* node); 52 Reduction ReduceJSConstruct(Node* node);
(...skipping 20 matching lines...) Expand all
72 JSGraph* const jsgraph_; 73 JSGraph* const jsgraph_;
73 Handle<Context> const native_context_; 74 Handle<Context> const native_context_;
74 CompilationDependencies* const dependencies_; 75 CompilationDependencies* const dependencies_;
75 }; 76 };
76 77
77 } // namespace compiler 78 } // namespace compiler
78 } // namespace internal 79 } // namespace internal
79 } // namespace v8 80 } // namespace v8
80 81
81 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ 82 #endif // V8_COMPILER_JS_CALL_REDUCER_H_
OLDNEW
« 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