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