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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 Reduction ReduceCall(Node* node); | 63 Reduction ReduceCall(Node* node); |
64 Reduction ReduceNewObject(Node* node); | 64 Reduction ReduceNewObject(Node* node); |
65 Reduction ReduceGetSuperConstructor(Node* node); | 65 Reduction ReduceGetSuperConstructor(Node* node); |
66 Reduction ReduceGetOrdinaryHasInstance(Node* node); | 66 Reduction ReduceGetOrdinaryHasInstance(Node* node); |
67 | 67 |
68 Reduction Change(Node* node, const Operator* op); | 68 Reduction Change(Node* node, const Operator* op); |
69 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); | 69 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); |
70 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); | 70 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); |
71 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, | 71 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, |
72 Node* d); | 72 Node* d); |
73 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr); | |
74 Reduction Change(Node* node, Callable const& callable, | 73 Reduction Change(Node* node, Callable const& callable, |
75 int stack_parameter_count); | 74 int stack_parameter_count); |
76 | 75 |
77 Graph* graph() const; | 76 Graph* graph() const; |
78 JSGraph* jsgraph() const { return jsgraph_; } | 77 JSGraph* jsgraph() const { return jsgraph_; } |
79 Isolate* isolate() const; | 78 Isolate* isolate() const; |
80 CommonOperatorBuilder* common() const; | 79 CommonOperatorBuilder* common() const; |
81 JSOperatorBuilder* javascript() const; | 80 JSOperatorBuilder* javascript() const; |
82 MachineOperatorBuilder* machine() const; | 81 MachineOperatorBuilder* machine() const; |
83 SimplifiedOperatorBuilder* simplified() const; | 82 SimplifiedOperatorBuilder* simplified() const; |
84 DeoptimizationMode mode() const { return mode_; } | 83 DeoptimizationMode mode() const { return mode_; } |
85 | 84 |
86 JSGraph* const jsgraph_; | 85 JSGraph* const jsgraph_; |
87 DeoptimizationMode const mode_; | 86 DeoptimizationMode const mode_; |
88 }; | 87 }; |
89 | 88 |
90 } // namespace compiler | 89 } // namespace compiler |
91 } // namespace internal | 90 } // namespace internal |
92 } // namespace v8 | 91 } // namespace v8 |
93 | 92 |
94 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 93 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |