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

Side by Side Diff: src/compiler/representation-change.h

Issue 2258073002: [Turbofan]: Use new MachineTypes in access-builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: A bit of refactoring. Created 4 years, 3 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/register-allocator.cc ('k') | src/compiler/representation-change.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_REPRESENTATION_CHANGE_H_ 5 #ifndef V8_COMPILER_REPRESENTATION_CHANGE_H_
6 #define V8_COMPILER_REPRESENTATION_CHANGE_H_ 6 #define V8_COMPILER_REPRESENTATION_CHANGE_H_
7 7
8 #include "src/compiler/js-graph.h" 8 #include "src/compiler/js-graph.h"
9 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 10
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 private: 226 private:
227 JSGraph* jsgraph_; 227 JSGraph* jsgraph_;
228 Isolate* isolate_; 228 Isolate* isolate_;
229 229
230 friend class RepresentationChangerTester; // accesses the below fields. 230 friend class RepresentationChangerTester; // accesses the below fields.
231 231
232 bool testing_type_errors_; // If {true}, don't abort on a type error. 232 bool testing_type_errors_; // If {true}, don't abort on a type error.
233 bool type_error_; // Set when a type error is detected. 233 bool type_error_; // Set when a type error is detected.
234 234
235 Node* GetTaggedSignedRepresentationFor(Node* node,
236 MachineRepresentation output_rep,
237 Type* output_type);
238 Node* GetTaggedPointerRepresentationFor(Node* node,
239 MachineRepresentation output_rep,
240 Type* output_type);
235 Node* GetTaggedRepresentationFor(Node* node, MachineRepresentation output_rep, 241 Node* GetTaggedRepresentationFor(Node* node, MachineRepresentation output_rep,
236 Type* output_type); 242 Type* output_type);
237 Node* GetFloat32RepresentationFor(Node* node, 243 Node* GetFloat32RepresentationFor(Node* node,
238 MachineRepresentation output_rep, 244 MachineRepresentation output_rep,
239 Type* output_type, Truncation truncation); 245 Type* output_type, Truncation truncation);
240 Node* GetFloat64RepresentationFor(Node* node, 246 Node* GetFloat64RepresentationFor(Node* node,
241 MachineRepresentation output_rep, 247 MachineRepresentation output_rep,
242 Type* output_type, Node* use_node, 248 Type* output_type, Node* use_node,
243 UseInfo use_info); 249 UseInfo use_info);
244 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep, 250 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep,
(...skipping 19 matching lines...) Expand all
264 Factory* factory() const { return isolate()->factory(); } 270 Factory* factory() const { return isolate()->factory(); }
265 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); } 271 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
266 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 272 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
267 }; 273 };
268 274
269 } // namespace compiler 275 } // namespace compiler
270 } // namespace internal 276 } // namespace internal
271 } // namespace v8 277 } // namespace v8
272 278
273 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_ 279 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_
OLDNEW
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/compiler/representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698