| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 Node* AllocateElements(Node* effect, Node* control, | 63 Node* AllocateElements(Node* effect, Node* control, |
| 64 ElementsKind elements_kind, int capacity, | 64 ElementsKind elements_kind, int capacity, |
| 65 PretenureFlag pretenure); | 65 PretenureFlag pretenure); |
| 66 Node* AllocateFastLiteral(Node* effect, Node* control, | 66 Node* AllocateFastLiteral(Node* effect, Node* control, |
| 67 Handle<JSObject> boilerplate, | 67 Handle<JSObject> boilerplate, |
| 68 AllocationSiteUsageContext* site_context); | 68 AllocationSiteUsageContext* site_context); |
| 69 Node* AllocateFastLiteralElements(Node* effect, Node* control, | 69 Node* AllocateFastLiteralElements(Node* effect, Node* control, |
| 70 Handle<JSObject> boilerplate, | 70 Handle<JSObject> boilerplate, |
| 71 PretenureFlag pretenure, | 71 PretenureFlag pretenure, |
| 72 AllocationSiteUsageContext* site_context); | 72 AllocationSiteUsageContext* site_context); |
| 73 Node* AllocateMutableHeapNumber(double value, Node* effect, Node* control); | |
| 74 | 73 |
| 75 // Infers the LiteralsArray to use for a given {node}. | 74 // Infers the LiteralsArray to use for a given {node}. |
| 76 MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node); | 75 MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node); |
| 77 | 76 |
| 78 Factory* factory() const; | 77 Factory* factory() const; |
| 79 Graph* graph() const; | 78 Graph* graph() const; |
| 80 JSGraph* jsgraph() const { return jsgraph_; } | 79 JSGraph* jsgraph() const { return jsgraph_; } |
| 81 Isolate* isolate() const; | 80 Isolate* isolate() const; |
| 82 JSOperatorBuilder* javascript() const; | 81 JSOperatorBuilder* javascript() const; |
| 83 CommonOperatorBuilder* common() const; | 82 CommonOperatorBuilder* common() const; |
| 84 SimplifiedOperatorBuilder* simplified() const; | 83 SimplifiedOperatorBuilder* simplified() const; |
| 85 MachineOperatorBuilder* machine() const; | 84 MachineOperatorBuilder* machine() const; |
| 86 CompilationDependencies* dependencies() const { return dependencies_; } | 85 CompilationDependencies* dependencies() const { return dependencies_; } |
| 87 Zone* zone() const { return zone_; } | 86 Zone* zone() const { return zone_; } |
| 88 | 87 |
| 89 CompilationDependencies* const dependencies_; | 88 CompilationDependencies* const dependencies_; |
| 90 JSGraph* const jsgraph_; | 89 JSGraph* const jsgraph_; |
| 91 MaybeHandle<LiteralsArray> const literals_array_; | 90 MaybeHandle<LiteralsArray> const literals_array_; |
| 92 Zone* const zone_; | 91 Zone* const zone_; |
| 93 }; | 92 }; |
| 94 | 93 |
| 95 } // namespace compiler | 94 } // namespace compiler |
| 96 } // namespace internal | 95 } // namespace internal |
| 97 } // namespace v8 | 96 } // namespace v8 |
| 98 | 97 |
| 99 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ | 98 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ |
| OLD | NEW |