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 25 matching lines...) Expand all Loading... |
36 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, | 36 JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph, |
37 DeoptimizationMode mode); | 37 DeoptimizationMode mode); |
38 ~JSIntrinsicLowering() final {} | 38 ~JSIntrinsicLowering() final {} |
39 | 39 |
40 Reduction Reduce(Node* node) final; | 40 Reduction Reduce(Node* node) final; |
41 | 41 |
42 private: | 42 private: |
43 Reduction ReduceCreateIterResultObject(Node* node); | 43 Reduction ReduceCreateIterResultObject(Node* node); |
44 Reduction ReduceDebugIsActive(Node* node); | 44 Reduction ReduceDebugIsActive(Node* node); |
45 Reduction ReduceDeoptimizeNow(Node* node); | 45 Reduction ReduceDeoptimizeNow(Node* node); |
| 46 Reduction ReduceCreateJSGeneratorObject(Node* node); |
46 Reduction ReduceGeneratorClose(Node* node); | 47 Reduction ReduceGeneratorClose(Node* node); |
47 Reduction ReduceGeneratorGetContext(Node* node); | 48 Reduction ReduceGeneratorGetContext(Node* node); |
48 Reduction ReduceGeneratorGetInputOrDebugPos(Node* node); | 49 Reduction ReduceGeneratorGetInputOrDebugPos(Node* node); |
49 Reduction ReduceAsyncGeneratorGetAwaitInputOrDebugPos(Node* node); | 50 Reduction ReduceAsyncGeneratorGetAwaitInputOrDebugPos(Node* node); |
50 Reduction ReduceAsyncGeneratorReject(Node* node); | 51 Reduction ReduceAsyncGeneratorReject(Node* node); |
51 Reduction ReduceAsyncGeneratorResolve(Node* node); | 52 Reduction ReduceAsyncGeneratorResolve(Node* node); |
52 Reduction ReduceGeneratorSaveInputForAwait(Node* node); | 53 Reduction ReduceGeneratorSaveInputForAwait(Node* node); |
53 Reduction ReduceGeneratorGetResumeMode(Node* node); | 54 Reduction ReduceGeneratorGetResumeMode(Node* node); |
54 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); | 55 Reduction ReduceIsInstanceType(Node* node, InstanceType instance_type); |
55 Reduction ReduceIsJSReceiver(Node* node); | 56 Reduction ReduceIsJSReceiver(Node* node); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 101 |
101 JSGraph* const jsgraph_; | 102 JSGraph* const jsgraph_; |
102 DeoptimizationMode const mode_; | 103 DeoptimizationMode const mode_; |
103 }; | 104 }; |
104 | 105 |
105 } // namespace compiler | 106 } // namespace compiler |
106 } // namespace internal | 107 } // namespace internal |
107 } // namespace v8 | 108 } // namespace v8 |
108 | 109 |
109 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 110 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |