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 21 matching lines...) Expand all Loading... |
32 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; | 32 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; |
33 | 33 |
34 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 34 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
35 DeoptimizationMode mode); | 35 DeoptimizationMode mode); |
36 ~JSIntrinsicLowering() final {} | 36 ~JSIntrinsicLowering() final {} |
37 | 37 |
38 Reduction Reduce(Node* node) final; | 38 Reduction Reduce(Node* node) final; |
39 | 39 |
40 private: | 40 private: |
41 Reduction ReduceConstructDouble(Node* node); | 41 Reduction ReduceConstructDouble(Node* node); |
| 42 Reduction ReduceCreateIterResultObject(Node* node); |
42 Reduction ReduceDateField(Node* node); | 43 Reduction ReduceDateField(Node* node); |
43 Reduction ReduceDeoptimizeNow(Node* node); | 44 Reduction ReduceDeoptimizeNow(Node* node); |
44 Reduction ReduceDoubleHi(Node* node); | 45 Reduction ReduceDoubleHi(Node* node); |
45 Reduction ReduceDoubleLo(Node* node); | 46 Reduction ReduceDoubleLo(Node* node); |
46 Reduction ReduceIncrementStatsCounter(Node* node); | 47 Reduction ReduceIncrementStatsCounter(Node* node); |
47 Reduction ReduceIsMinusZero(Node* node); | 48 Reduction ReduceIsMinusZero(Node* node); |
48 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 49 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
49 Reduction ReduceIsJSReceiver(Node* node); | 50 Reduction ReduceIsJSReceiver(Node* node); |
50 Reduction ReduceIsSmi(Node* node); | 51 Reduction ReduceIsSmi(Node* node); |
51 Reduction ReduceJSValueGetValue(Node* node); | 52 Reduction ReduceJSValueGetValue(Node* node); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 JSGraph* const jsgraph_; | 95 JSGraph* const jsgraph_; |
95 DeoptimizationMode const mode_; | 96 DeoptimizationMode const mode_; |
96 TypeCache const& type_cache_; | 97 TypeCache const& type_cache_; |
97 }; | 98 }; |
98 | 99 |
99 } // namespace compiler | 100 } // namespace compiler |
100 } // namespace internal | 101 } // namespace internal |
101 } // namespace v8 | 102 } // namespace v8 |
102 | 103 |
103 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 104 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |