| 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/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 literals_array_(literals_array), | 38 literals_array_(literals_array), |
| 39 zone_(zone) {} | 39 zone_(zone) {} |
| 40 ~JSCreateLowering() final {} | 40 ~JSCreateLowering() final {} |
| 41 | 41 |
| 42 Reduction Reduce(Node* node) final; | 42 Reduction Reduce(Node* node) final; |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 Reduction ReduceJSCreate(Node* node); | 45 Reduction ReduceJSCreate(Node* node); |
| 46 Reduction ReduceJSCreateArguments(Node* node); | 46 Reduction ReduceJSCreateArguments(Node* node); |
| 47 Reduction ReduceJSCreateArray(Node* node); | 47 Reduction ReduceJSCreateArray(Node* node); |
| 48 Reduction ReduceJSCreateClosure(Node* node); |
| 48 Reduction ReduceJSCreateIterResultObject(Node* node); | 49 Reduction ReduceJSCreateIterResultObject(Node* node); |
| 49 Reduction ReduceJSCreateLiteral(Node* node); | 50 Reduction ReduceJSCreateLiteral(Node* node); |
| 50 Reduction ReduceJSCreateFunctionContext(Node* node); | 51 Reduction ReduceJSCreateFunctionContext(Node* node); |
| 51 Reduction ReduceJSCreateWithContext(Node* node); | 52 Reduction ReduceJSCreateWithContext(Node* node); |
| 52 Reduction ReduceJSCreateCatchContext(Node* node); | 53 Reduction ReduceJSCreateCatchContext(Node* node); |
| 53 Reduction ReduceJSCreateBlockContext(Node* node); | 54 Reduction ReduceJSCreateBlockContext(Node* node); |
| 54 Reduction ReduceNewArray(Node* node, Node* length, int capacity, | 55 Reduction ReduceNewArray(Node* node, Node* length, int capacity, |
| 55 Handle<AllocationSite> site); | 56 Handle<AllocationSite> site); |
| 56 | 57 |
| 57 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); | 58 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 JSGraph* const jsgraph_; | 91 JSGraph* const jsgraph_; |
| 91 MaybeHandle<LiteralsArray> const literals_array_; | 92 MaybeHandle<LiteralsArray> const literals_array_; |
| 92 Zone* const zone_; | 93 Zone* const zone_; |
| 93 }; | 94 }; |
| 94 | 95 |
| 95 } // namespace compiler | 96 } // namespace compiler |
| 96 } // namespace internal | 97 } // namespace internal |
| 97 } // namespace v8 | 98 } // namespace v8 |
| 98 | 99 |
| 99 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ | 100 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ |
| OLD | NEW |