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

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

Issue 2312003005: [turbofan] Handle word32 truncation in word32->tagged representation change. (Closed)
Patch Set: 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 | « no previous file | 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 bool testing_type_errors_; // If {true}, don't abort on a type error. 242 bool testing_type_errors_; // If {true}, don't abort on a type error.
243 bool type_error_; // Set when a type error is detected. 243 bool type_error_; // Set when a type error is detected.
244 244
245 Node* GetTaggedSignedRepresentationFor(Node* node, 245 Node* GetTaggedSignedRepresentationFor(Node* node,
246 MachineRepresentation output_rep, 246 MachineRepresentation output_rep,
247 Type* output_type); 247 Type* output_type);
248 Node* GetTaggedPointerRepresentationFor(Node* node, 248 Node* GetTaggedPointerRepresentationFor(Node* node,
249 MachineRepresentation output_rep, 249 MachineRepresentation output_rep,
250 Type* output_type); 250 Type* output_type);
251 Node* GetTaggedRepresentationFor(Node* node, MachineRepresentation output_rep, 251 Node* GetTaggedRepresentationFor(Node* node, MachineRepresentation output_rep,
252 Type* output_type); 252 Type* output_type, Truncation truncation);
253 Node* GetFloat32RepresentationFor(Node* node, 253 Node* GetFloat32RepresentationFor(Node* node,
254 MachineRepresentation output_rep, 254 MachineRepresentation output_rep,
255 Type* output_type, Truncation truncation); 255 Type* output_type, Truncation truncation);
256 Node* GetFloat64RepresentationFor(Node* node, 256 Node* GetFloat64RepresentationFor(Node* node,
257 MachineRepresentation output_rep, 257 MachineRepresentation output_rep,
258 Type* output_type, Node* use_node, 258 Type* output_type, Node* use_node,
259 UseInfo use_info); 259 UseInfo use_info);
260 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep, 260 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep,
261 Type* output_type, Node* use_node, 261 Type* output_type, Node* use_node,
262 UseInfo use_info); 262 UseInfo use_info);
(...skipping 17 matching lines...) Expand all
280 Factory* factory() const { return isolate()->factory(); } 280 Factory* factory() const { return isolate()->factory(); }
281 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); } 281 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
282 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 282 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
283 }; 283 };
284 284
285 } // namespace compiler 285 } // namespace compiler
286 } // namespace internal 286 } // namespace internal
287 } // namespace v8 287 } // namespace v8
288 288
289 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_ 289 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698