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_INTRINSIC_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
7 | 7 |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 Reduction ReduceGetCallerJSFunction(Node* node); | 62 Reduction ReduceGetCallerJSFunction(Node* node); |
63 Reduction ReduceThrowNotDateError(Node* node); | 63 Reduction ReduceThrowNotDateError(Node* node); |
64 Reduction ReduceToInteger(Node* node); | 64 Reduction ReduceToInteger(Node* node); |
65 Reduction ReduceToLength(Node* node); | 65 Reduction ReduceToLength(Node* node); |
66 Reduction ReduceToName(Node* node); | 66 Reduction ReduceToName(Node* node); |
67 Reduction ReduceToNumber(Node* node); | 67 Reduction ReduceToNumber(Node* node); |
68 Reduction ReduceToObject(Node* node); | 68 Reduction ReduceToObject(Node* node); |
69 Reduction ReduceToPrimitive(Node* node); | 69 Reduction ReduceToPrimitive(Node* node); |
70 Reduction ReduceToString(Node* node); | 70 Reduction ReduceToString(Node* node); |
71 Reduction ReduceCall(Node* node); | 71 Reduction ReduceCall(Node* node); |
| 72 Reduction ReduceTailCall(Node* node); |
72 | 73 |
73 Reduction Change(Node* node, const Operator* op); | 74 Reduction Change(Node* node, const Operator* op); |
74 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); | 75 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); |
75 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); | 76 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); |
76 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, | 77 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, |
77 Node* d); | 78 Node* d); |
78 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr); | 79 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr); |
79 | 80 |
80 Graph* graph() const; | 81 Graph* graph() const; |
81 JSGraph* jsgraph() const { return jsgraph_; } | 82 JSGraph* jsgraph() const { return jsgraph_; } |
82 Isolate* isolate() const; | 83 Isolate* isolate() const; |
83 CommonOperatorBuilder* common() const; | 84 CommonOperatorBuilder* common() const; |
84 JSOperatorBuilder* javascript() const; | 85 JSOperatorBuilder* javascript() const; |
85 MachineOperatorBuilder* machine() const; | 86 MachineOperatorBuilder* machine() const; |
86 SimplifiedOperatorBuilder* simplified() const; | 87 SimplifiedOperatorBuilder* simplified() const; |
87 DeoptimizationMode mode() const { return mode_; } | 88 DeoptimizationMode mode() const { return mode_; } |
88 TypeCache const& type_cache() const { return type_cache_; } | 89 TypeCache const& type_cache() const { return type_cache_; } |
89 | 90 |
90 JSGraph* const jsgraph_; | 91 JSGraph* const jsgraph_; |
91 DeoptimizationMode const mode_; | 92 DeoptimizationMode const mode_; |
92 TypeCache const& type_cache_; | 93 TypeCache const& type_cache_; |
93 }; | 94 }; |
94 | 95 |
95 } // namespace compiler | 96 } // namespace compiler |
96 } // namespace internal | 97 } // namespace internal |
97 } // namespace v8 | 98 } // namespace v8 |
98 | 99 |
99 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 100 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |