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