OLD | NEW |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 Node* node, Handle<FunctionTemplateInfo> function_template_info); | 45 Node* node, Handle<FunctionTemplateInfo> function_template_info); |
46 Reduction ReduceNumberConstructor(Node* node); | 46 Reduction ReduceNumberConstructor(Node* node); |
47 Reduction ReduceFunctionPrototypeApply(Node* node); | 47 Reduction ReduceFunctionPrototypeApply(Node* node); |
48 Reduction ReduceFunctionPrototypeCall(Node* node); | 48 Reduction ReduceFunctionPrototypeCall(Node* node); |
49 Reduction ReduceFunctionPrototypeHasInstance(Node* node); | 49 Reduction ReduceFunctionPrototypeHasInstance(Node* node); |
50 Reduction ReduceObjectGetPrototype(Node* node, Node* object); | 50 Reduction ReduceObjectGetPrototype(Node* node, Node* object); |
51 Reduction ReduceObjectGetPrototypeOf(Node* node); | 51 Reduction ReduceObjectGetPrototypeOf(Node* node); |
52 Reduction ReduceObjectPrototypeGetProto(Node* node); | 52 Reduction ReduceObjectPrototypeGetProto(Node* node); |
53 Reduction ReduceObjectPrototypeIsPrototypeOf(Node* node); | 53 Reduction ReduceObjectPrototypeIsPrototypeOf(Node* node); |
54 Reduction ReduceReflectApply(Node* node); | 54 Reduction ReduceReflectApply(Node* node); |
| 55 Reduction ReduceReflectConstruct(Node* node); |
55 Reduction ReduceReflectGetPrototypeOf(Node* node); | 56 Reduction ReduceReflectGetPrototypeOf(Node* node); |
56 Reduction ReduceArrayForEach(Handle<JSFunction> function, Node* node); | 57 Reduction ReduceArrayForEach(Handle<JSFunction> function, Node* node); |
57 Reduction ReduceCallOrConstructWithArrayLikeOrSpread( | 58 Reduction ReduceCallOrConstructWithArrayLikeOrSpread( |
58 Node* node, int arity, CallFrequency const& frequency); | 59 Node* node, int arity, CallFrequency const& frequency); |
59 Reduction ReduceJSConstruct(Node* node); | 60 Reduction ReduceJSConstruct(Node* node); |
| 61 Reduction ReduceJSConstructWithArrayLike(Node* node); |
60 Reduction ReduceJSConstructWithSpread(Node* node); | 62 Reduction ReduceJSConstructWithSpread(Node* node); |
61 Reduction ReduceJSCall(Node* node); | 63 Reduction ReduceJSCall(Node* node); |
62 Reduction ReduceJSCallWithArrayLike(Node* node); | 64 Reduction ReduceJSCallWithArrayLike(Node* node); |
63 Reduction ReduceJSCallWithSpread(Node* node); | 65 Reduction ReduceJSCallWithSpread(Node* node); |
64 Reduction ReduceReturnReceiver(Node* node); | 66 Reduction ReduceReturnReceiver(Node* node); |
65 | 67 |
66 Graph* graph() const; | 68 Graph* graph() const; |
67 JSGraph* jsgraph() const { return jsgraph_; } | 69 JSGraph* jsgraph() const { return jsgraph_; } |
68 Isolate* isolate() const; | 70 Isolate* isolate() const; |
69 Factory* factory() const; | 71 Factory* factory() const; |
70 Handle<Context> native_context() const { return native_context_; } | 72 Handle<Context> native_context() const { return native_context_; } |
71 Handle<JSGlobalProxy> global_proxy() const; | 73 Handle<JSGlobalProxy> global_proxy() const; |
72 CommonOperatorBuilder* common() const; | 74 CommonOperatorBuilder* common() const; |
73 JSOperatorBuilder* javascript() const; | 75 JSOperatorBuilder* javascript() const; |
74 SimplifiedOperatorBuilder* simplified() const; | 76 SimplifiedOperatorBuilder* simplified() const; |
75 CompilationDependencies* dependencies() const { return dependencies_; } | 77 CompilationDependencies* dependencies() const { return dependencies_; } |
76 | 78 |
77 JSGraph* const jsgraph_; | 79 JSGraph* const jsgraph_; |
78 Handle<Context> const native_context_; | 80 Handle<Context> const native_context_; |
79 CompilationDependencies* const dependencies_; | 81 CompilationDependencies* const dependencies_; |
80 }; | 82 }; |
81 | 83 |
82 } // namespace compiler | 84 } // namespace compiler |
83 } // namespace internal | 85 } // namespace internal |
84 } // namespace v8 | 86 } // namespace v8 |
85 | 87 |
86 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ | 88 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ |
OLD | NEW |