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 14 matching lines...) Expand all Loading... |
25 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; | 25 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; |
26 | 26 |
27 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 27 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
28 DeoptimizationMode mode); | 28 DeoptimizationMode mode); |
29 ~JSIntrinsicLowering() final {} | 29 ~JSIntrinsicLowering() final {} |
30 | 30 |
31 Reduction Reduce(Node* node) final; | 31 Reduction Reduce(Node* node) final; |
32 | 32 |
33 private: | 33 private: |
34 Reduction ReduceConstructDouble(Node* node); | 34 Reduction ReduceConstructDouble(Node* node); |
| 35 Reduction ReduceDateField(Node* node); |
35 Reduction ReduceDeoptimizeNow(Node* node); | 36 Reduction ReduceDeoptimizeNow(Node* node); |
36 Reduction ReduceDoubleHi(Node* node); | 37 Reduction ReduceDoubleHi(Node* node); |
37 Reduction ReduceDoubleLo(Node* node); | 38 Reduction ReduceDoubleLo(Node* node); |
38 Reduction ReduceHeapObjectGetMap(Node* node); | 39 Reduction ReduceHeapObjectGetMap(Node* node); |
39 Reduction ReduceIncrementStatsCounter(Node* node); | 40 Reduction ReduceIncrementStatsCounter(Node* node); |
40 Reduction ReduceIsMinusZero(Node* node); | 41 Reduction ReduceIsMinusZero(Node* node); |
41 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 42 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
42 Reduction ReduceIsNonNegativeSmi(Node* node); | 43 Reduction ReduceIsNonNegativeSmi(Node* node); |
43 Reduction ReduceIsSmi(Node* node); | 44 Reduction ReduceIsSmi(Node* node); |
44 Reduction ReduceJSValueGetValue(Node* node); | 45 Reduction ReduceJSValueGetValue(Node* node); |
(...skipping 25 matching lines...) Expand all Loading... |
70 JSGraph* const jsgraph_; | 71 JSGraph* const jsgraph_; |
71 DeoptimizationMode const mode_; | 72 DeoptimizationMode const mode_; |
72 SimplifiedOperatorBuilder simplified_; | 73 SimplifiedOperatorBuilder simplified_; |
73 }; | 74 }; |
74 | 75 |
75 } // namespace compiler | 76 } // namespace compiler |
76 } // namespace internal | 77 } // namespace internal |
77 } // namespace v8 | 78 } // namespace v8 |
78 | 79 |
79 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 80 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |