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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 Reduction ReduceToInteger(Node* node); | 56 Reduction ReduceToInteger(Node* node); |
57 Reduction ReduceToLength(Node* node); | 57 Reduction ReduceToLength(Node* node); |
58 Reduction ReduceToName(Node* node); | 58 Reduction ReduceToName(Node* node); |
59 Reduction ReduceToNumber(Node* node); | 59 Reduction ReduceToNumber(Node* node); |
60 Reduction ReduceToObject(Node* node); | 60 Reduction ReduceToObject(Node* node); |
61 Reduction ReduceToPrimitive(Node* node); | 61 Reduction ReduceToPrimitive(Node* node); |
62 Reduction ReduceToString(Node* node); | 62 Reduction ReduceToString(Node* node); |
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); | |
67 | 66 |
68 Reduction Change(Node* node, const Operator* op); | 67 Reduction Change(Node* node, const Operator* op); |
69 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); | 68 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); | 69 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, | 70 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, |
72 Node* d); | 71 Node* d); |
73 Reduction Change(Node* node, Callable const& callable, | 72 Reduction Change(Node* node, Callable const& callable, |
74 int stack_parameter_count); | 73 int stack_parameter_count); |
75 | 74 |
76 Graph* graph() const; | 75 Graph* graph() const; |
77 JSGraph* jsgraph() const { return jsgraph_; } | 76 JSGraph* jsgraph() const { return jsgraph_; } |
78 Isolate* isolate() const; | 77 Isolate* isolate() const; |
79 CommonOperatorBuilder* common() const; | 78 CommonOperatorBuilder* common() const; |
80 JSOperatorBuilder* javascript() const; | 79 JSOperatorBuilder* javascript() const; |
81 MachineOperatorBuilder* machine() const; | 80 MachineOperatorBuilder* machine() const; |
82 SimplifiedOperatorBuilder* simplified() const; | 81 SimplifiedOperatorBuilder* simplified() const; |
83 DeoptimizationMode mode() const { return mode_; } | 82 DeoptimizationMode mode() const { return mode_; } |
84 | 83 |
85 JSGraph* const jsgraph_; | 84 JSGraph* const jsgraph_; |
86 DeoptimizationMode const mode_; | 85 DeoptimizationMode const mode_; |
87 }; | 86 }; |
88 | 87 |
89 } // namespace compiler | 88 } // namespace compiler |
90 } // namespace internal | 89 } // namespace internal |
91 } // namespace v8 | 90 } // namespace v8 |
92 | 91 |
93 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 92 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |