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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph-reducer.h" | 10 #include "src/compiler/graph-reducer.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; | 33 enum DeoptimizationMode { kDeoptimizationEnabled, kDeoptimizationDisabled }; |
34 | 34 |
35 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 35 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
36 DeoptimizationMode mode); | 36 DeoptimizationMode mode); |
37 ~JSIntrinsicLowering() final {} | 37 ~JSIntrinsicLowering() final {} |
38 | 38 |
39 Reduction Reduce(Node* node) final; | 39 Reduction Reduce(Node* node) final; |
40 | 40 |
41 private: | 41 private: |
42 Reduction ReduceCreateIterResultObject(Node* node); | 42 Reduction ReduceCreateIterResultObject(Node* node); |
| 43 Reduction ReduceDebugIsActive(Node* node); |
43 Reduction ReduceDeoptimizeNow(Node* node); | 44 Reduction ReduceDeoptimizeNow(Node* node); |
44 Reduction ReduceGeneratorClose(Node* node); | 45 Reduction ReduceGeneratorClose(Node* node); |
45 Reduction ReduceGeneratorGetInputOrDebugPos(Node* node); | 46 Reduction ReduceGeneratorGetInputOrDebugPos(Node* node); |
46 Reduction ReduceGeneratorGetResumeMode(Node* node); | 47 Reduction ReduceGeneratorGetResumeMode(Node* node); |
47 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 48 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
48 Reduction ReduceIsJSReceiver(Node* node); | 49 Reduction ReduceIsJSReceiver(Node* node); |
49 Reduction ReduceIsSmi(Node* node); | 50 Reduction ReduceIsSmi(Node* node); |
50 Reduction ReduceFixedArrayGet(Node* node); | 51 Reduction ReduceFixedArrayGet(Node* node); |
51 Reduction ReduceFixedArraySet(Node* node); | 52 Reduction ReduceFixedArraySet(Node* node); |
52 Reduction ReduceRegExpExec(Node* node); | 53 Reduction ReduceRegExpExec(Node* node); |
(...skipping 25 matching lines...) Expand all Loading... |
78 | 79 |
79 JSGraph* const jsgraph_; | 80 JSGraph* const jsgraph_; |
80 DeoptimizationMode const mode_; | 81 DeoptimizationMode const mode_; |
81 }; | 82 }; |
82 | 83 |
83 } // namespace compiler | 84 } // namespace compiler |
84 } // namespace internal | 85 } // namespace internal |
85 } // namespace v8 | 86 } // namespace v8 |
86 | 87 |
87 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 88 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |