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 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 Reduction ReduceMathFloor(Node* node); | 48 Reduction ReduceMathFloor(Node* node); |
49 Reduction ReduceMathSqrt(Node* node); | 49 Reduction ReduceMathSqrt(Node* node); |
50 Reduction ReduceSeqStringGetChar(Node* node, String::Encoding encoding); | 50 Reduction ReduceSeqStringGetChar(Node* node, String::Encoding encoding); |
51 Reduction ReduceSeqStringSetChar(Node* node, String::Encoding encoding); | 51 Reduction ReduceSeqStringSetChar(Node* node, String::Encoding encoding); |
52 Reduction ReduceStringGetLength(Node* node); | 52 Reduction ReduceStringGetLength(Node* node); |
53 Reduction ReduceUnLikely(Node* node, BranchHint hint); | 53 Reduction ReduceUnLikely(Node* node, BranchHint hint); |
54 Reduction ReduceValueOf(Node* node); | 54 Reduction ReduceValueOf(Node* node); |
55 Reduction ReduceFixedArraySet(Node* node); | 55 Reduction ReduceFixedArraySet(Node* node); |
56 Reduction ReduceGetTypeFeedbackVector(Node* node); | 56 Reduction ReduceGetTypeFeedbackVector(Node* node); |
57 Reduction ReduceGetCallerJSFunction(Node* node); | 57 Reduction ReduceGetCallerJSFunction(Node* node); |
| 58 Reduction ReduceThrowNotDateError(Node* node); |
58 | 59 |
59 Reduction Change(Node* node, const Operator* op); | 60 Reduction Change(Node* node, const Operator* op); |
60 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); | 61 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); |
61 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); | 62 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); |
62 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr); | 63 Reduction ChangeToUndefined(Node* node, Node* effect = nullptr); |
63 | 64 |
64 Graph* graph() const; | 65 Graph* graph() const; |
65 JSGraph* jsgraph() const { return jsgraph_; } | 66 JSGraph* jsgraph() const { return jsgraph_; } |
66 CommonOperatorBuilder* common() const; | 67 CommonOperatorBuilder* common() const; |
67 MachineOperatorBuilder* machine() const; | 68 MachineOperatorBuilder* machine() const; |
68 DeoptimizationMode mode() const { return mode_; } | 69 DeoptimizationMode mode() const { return mode_; } |
69 SimplifiedOperatorBuilder* simplified() { return &simplified_; } | 70 SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
70 | 71 |
71 JSGraph* const jsgraph_; | 72 JSGraph* const jsgraph_; |
72 DeoptimizationMode const mode_; | 73 DeoptimizationMode const mode_; |
73 SimplifiedOperatorBuilder simplified_; | 74 SimplifiedOperatorBuilder simplified_; |
74 }; | 75 }; |
75 | 76 |
76 } // namespace compiler | 77 } // namespace compiler |
77 } // namespace internal | 78 } // namespace internal |
78 } // namespace v8 | 79 } // namespace v8 |
79 | 80 |
80 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 81 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |