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 19 matching lines...) Expand all Loading... |
30 public: | 30 public: |
31 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; | 31 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; |
32 | 32 |
33 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 33 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
34 DeoptimizationMode mode); | 34 DeoptimizationMode mode); |
35 ~JSIntrinsicLowering() final {} | 35 ~JSIntrinsicLowering() final {} |
36 | 36 |
37 Reduction Reduce(Node* node) final; | 37 Reduction Reduce(Node* node) final; |
38 | 38 |
39 private: | 39 private: |
40 Reduction ReduceConstructDouble(Node* node); | |
41 Reduction ReduceCreateIterResultObject(Node* node); | 40 Reduction ReduceCreateIterResultObject(Node* node); |
42 Reduction ReduceDeoptimizeNow(Node* node); | 41 Reduction ReduceDeoptimizeNow(Node* node); |
43 Reduction ReduceDoubleHi(Node* node); | 42 Reduction ReduceDoubleHi(Node* node); |
44 Reduction ReduceDoubleLo(Node* node); | 43 Reduction ReduceDoubleLo(Node* node); |
45 Reduction ReduceGeneratorClose(Node* node); | 44 Reduction ReduceGeneratorClose(Node* node); |
46 Reduction ReduceGeneratorGetInput(Node* node); | 45 Reduction ReduceGeneratorGetInput(Node* node); |
47 Reduction ReduceGeneratorGetResumeMode(Node* node); | 46 Reduction ReduceGeneratorGetResumeMode(Node* node); |
48 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 47 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
49 Reduction ReduceIsJSReceiver(Node* node); | 48 Reduction ReduceIsJSReceiver(Node* node); |
50 Reduction ReduceIsSmi(Node* node); | 49 Reduction ReduceIsSmi(Node* node); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 85 |
87 JSGraph* const jsgraph_; | 86 JSGraph* const jsgraph_; |
88 DeoptimizationMode const mode_; | 87 DeoptimizationMode const mode_; |
89 }; | 88 }; |
90 | 89 |
91 } // namespace compiler | 90 } // namespace compiler |
92 } // namespace internal | 91 } // namespace internal |
93 } // namespace v8 | 92 } // namespace v8 |
94 | 93 |
95 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 94 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |