Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/compiler/js-create-lowering.h

Issue 1963583004: [turbofan] Initial version of allocation folding and write barrier elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Jaros comments; Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | src/compiler/js-create-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 Node* AllocateElements(Node* effect, Node* control, 64 Node* AllocateElements(Node* effect, Node* control,
65 ElementsKind elements_kind, int capacity, 65 ElementsKind elements_kind, int capacity,
66 PretenureFlag pretenure); 66 PretenureFlag pretenure);
67 Node* AllocateFastLiteral(Node* effect, Node* control, 67 Node* AllocateFastLiteral(Node* effect, Node* control,
68 Handle<JSObject> boilerplate, 68 Handle<JSObject> boilerplate,
69 AllocationSiteUsageContext* site_context); 69 AllocationSiteUsageContext* site_context);
70 Node* AllocateFastLiteralElements(Node* effect, Node* control, 70 Node* AllocateFastLiteralElements(Node* effect, Node* control,
71 Handle<JSObject> boilerplate, 71 Handle<JSObject> boilerplate,
72 PretenureFlag pretenure, 72 PretenureFlag pretenure,
73 AllocationSiteUsageContext* site_context); 73 AllocationSiteUsageContext* site_context);
74 Node* AllocateMutableHeapNumber(double value, Node* effect, Node* control);
75 74
76 // Infers the LiteralsArray to use for a given {node}. 75 // Infers the LiteralsArray to use for a given {node}.
77 MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node); 76 MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node);
78 77
79 Factory* factory() const; 78 Factory* factory() const;
80 Graph* graph() const; 79 Graph* graph() const;
81 JSGraph* jsgraph() const { return jsgraph_; } 80 JSGraph* jsgraph() const { return jsgraph_; }
82 Isolate* isolate() const; 81 Isolate* isolate() const;
83 JSOperatorBuilder* javascript() const; 82 JSOperatorBuilder* javascript() const;
84 CommonOperatorBuilder* common() const; 83 CommonOperatorBuilder* common() const;
85 SimplifiedOperatorBuilder* simplified() const; 84 SimplifiedOperatorBuilder* simplified() const;
86 MachineOperatorBuilder* machine() const; 85 MachineOperatorBuilder* machine() const;
87 CompilationDependencies* dependencies() const { return dependencies_; } 86 CompilationDependencies* dependencies() const { return dependencies_; }
88 Zone* zone() const { return zone_; } 87 Zone* zone() const { return zone_; }
89 88
90 CompilationDependencies* const dependencies_; 89 CompilationDependencies* const dependencies_;
91 JSGraph* const jsgraph_; 90 JSGraph* const jsgraph_;
92 MaybeHandle<LiteralsArray> const literals_array_; 91 MaybeHandle<LiteralsArray> const literals_array_;
93 Zone* const zone_; 92 Zone* const zone_;
94 }; 93 };
95 94
96 } // namespace compiler 95 } // namespace compiler
97 } // namespace internal 96 } // namespace internal
98 } // namespace v8 97 } // namespace v8
99 98
100 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_ 99 #endif // V8_COMPILER_JS_CREATE_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | src/compiler/js-create-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698