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

Side by Side Diff: src/compiler/js-graph.h

Issue 1523323005: [turbofan] Implement proper caching of heap constants in the JSGraph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/common-node-cache.cc ('k') | src/compiler/js-graph.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_GRAPH_H_ 5 #ifndef V8_COMPILER_JS_GRAPH_H_
6 #define V8_COMPILER_JS_GRAPH_H_ 6 #define V8_COMPILER_JS_GRAPH_H_
7 7
8 #include "src/compiler/common-node-cache.h" 8 #include "src/compiler/common-node-cache.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 Isolate* isolate_; 152 Isolate* isolate_;
153 Graph* graph_; 153 Graph* graph_;
154 CommonOperatorBuilder* common_; 154 CommonOperatorBuilder* common_;
155 JSOperatorBuilder* javascript_; 155 JSOperatorBuilder* javascript_;
156 SimplifiedOperatorBuilder* simplified_; 156 SimplifiedOperatorBuilder* simplified_;
157 MachineOperatorBuilder* machine_; 157 MachineOperatorBuilder* machine_;
158 CommonNodeCache cache_; 158 CommonNodeCache cache_;
159 Node* cached_nodes_[kNumCachedNodes]; 159 Node* cached_nodes_[kNumCachedNodes];
160 160
161 Node* ImmovableHeapConstant(Handle<HeapObject> value);
162 Node* NumberConstant(double value); 161 Node* NumberConstant(double value);
163 162
164 DISALLOW_COPY_AND_ASSIGN(JSGraph); 163 DISALLOW_COPY_AND_ASSIGN(JSGraph);
165 }; 164 };
166 165
167 } // namespace compiler 166 } // namespace compiler
168 } // namespace internal 167 } // namespace internal
169 } // namespace v8 168 } // namespace v8
170 169
171 #endif 170 #endif
OLDNEW
« no previous file with comments | « src/compiler/common-node-cache.cc ('k') | src/compiler/js-graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698