OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_CREATE_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_CREATE_LOWERING_H_ |
6 #define V8_COMPILER_JS_CREATE_LOWERING_H_ | 6 #define V8_COMPILER_JS_CREATE_LOWERING_H_ |
7 | 7 |
8 #include "src/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 ~JSCreateLowering() final {} | 44 ~JSCreateLowering() final {} |
45 | 45 |
46 Reduction Reduce(Node* node) final; | 46 Reduction Reduce(Node* node) final; |
47 | 47 |
48 private: | 48 private: |
49 Reduction ReduceJSCreate(Node* node); | 49 Reduction ReduceJSCreate(Node* node); |
50 Reduction ReduceJSCreateArguments(Node* node); | 50 Reduction ReduceJSCreateArguments(Node* node); |
51 Reduction ReduceJSCreateArray(Node* node); | 51 Reduction ReduceJSCreateArray(Node* node); |
52 Reduction ReduceJSCreateClosure(Node* node); | 52 Reduction ReduceJSCreateClosure(Node* node); |
53 Reduction ReduceJSCreateIterResultObject(Node* node); | 53 Reduction ReduceJSCreateIterResultObject(Node* node); |
| 54 Reduction ReduceJSCreateKeyValueArray(Node* node); |
54 Reduction ReduceJSCreateLiteral(Node* node); | 55 Reduction ReduceJSCreateLiteral(Node* node); |
55 Reduction ReduceJSCreateFunctionContext(Node* node); | 56 Reduction ReduceJSCreateFunctionContext(Node* node); |
56 Reduction ReduceJSCreateWithContext(Node* node); | 57 Reduction ReduceJSCreateWithContext(Node* node); |
57 Reduction ReduceJSCreateCatchContext(Node* node); | 58 Reduction ReduceJSCreateCatchContext(Node* node); |
58 Reduction ReduceJSCreateBlockContext(Node* node); | 59 Reduction ReduceJSCreateBlockContext(Node* node); |
59 Reduction ReduceNewArray(Node* node, Node* length, int capacity, | 60 Reduction ReduceNewArray(Node* node, Node* length, int capacity, |
60 Handle<AllocationSite> site); | 61 Handle<AllocationSite> site); |
61 | 62 |
62 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); | 63 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); |
63 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state, | 64 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 MaybeHandle<LiteralsArray> const literals_array_; | 99 MaybeHandle<LiteralsArray> const literals_array_; |
99 Handle<Context> const native_context_; | 100 Handle<Context> const native_context_; |
100 Zone* const zone_; | 101 Zone* const zone_; |
101 }; | 102 }; |
102 | 103 |
103 } // namespace compiler | 104 } // namespace compiler |
104 } // namespace internal | 105 } // namespace internal |
105 } // namespace v8 | 106 } // namespace v8 |
106 | 107 |
107 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ | 108 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ |
OLD | NEW |