| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 native_context_(native_context), | 43 native_context_(native_context), |
| 44 zone_(zone) {} | 44 zone_(zone) {} |
| 45 ~JSCreateLowering() final {} | 45 ~JSCreateLowering() final {} |
| 46 | 46 |
| 47 Reduction Reduce(Node* node) final; | 47 Reduction Reduce(Node* node) final; |
| 48 | 48 |
| 49 private: | 49 private: |
| 50 Reduction ReduceJSCreate(Node* node); | 50 Reduction ReduceJSCreate(Node* node); |
| 51 Reduction ReduceJSCreateArguments(Node* node); | 51 Reduction ReduceJSCreateArguments(Node* node); |
| 52 Reduction ReduceJSCreateArray(Node* node); | 52 Reduction ReduceJSCreateArray(Node* node); |
| 53 Reduction ReduceJSCreateClosure(Node* node); | |
| 54 Reduction ReduceJSCreateIterResultObject(Node* node); | 53 Reduction ReduceJSCreateIterResultObject(Node* node); |
| 55 Reduction ReduceJSCreateKeyValueArray(Node* node); | 54 Reduction ReduceJSCreateKeyValueArray(Node* node); |
| 56 Reduction ReduceJSCreateLiteral(Node* node); | 55 Reduction ReduceJSCreateLiteral(Node* node); |
| 57 Reduction ReduceJSCreateFunctionContext(Node* node); | 56 Reduction ReduceJSCreateFunctionContext(Node* node); |
| 58 Reduction ReduceJSCreateWithContext(Node* node); | 57 Reduction ReduceJSCreateWithContext(Node* node); |
| 59 Reduction ReduceJSCreateCatchContext(Node* node); | 58 Reduction ReduceJSCreateCatchContext(Node* node); |
| 60 Reduction ReduceJSCreateBlockContext(Node* node); | 59 Reduction ReduceJSCreateBlockContext(Node* node); |
| 61 Reduction ReduceNewArray(Node* node, Node* length, int capacity, | 60 Reduction ReduceNewArray(Node* node, Node* length, int capacity, |
| 62 Handle<AllocationSite> site); | 61 Handle<AllocationSite> site); |
| 63 | 62 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 MaybeHandle<FeedbackVector> const feedback_vector_; | 99 MaybeHandle<FeedbackVector> const feedback_vector_; |
| 101 Handle<Context> const native_context_; | 100 Handle<Context> const native_context_; |
| 102 Zone* const zone_; | 101 Zone* const zone_; |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namespace compiler | 104 } // namespace compiler |
| 106 } // namespace internal | 105 } // namespace internal |
| 107 } // namespace v8 | 106 } // namespace v8 |
| 108 | 107 |
| 109 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ | 108 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ |
| OLD | NEW |