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

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

Issue 2183373002: [turbofan] Remove dead code from representation changer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 MachineRepresentation output_rep, 215 MachineRepresentation output_rep,
216 Type* output_type, Node* use_node, 216 Type* output_type, Node* use_node,
217 UseInfo use_info); 217 UseInfo use_info);
218 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep, 218 Node* GetWord32RepresentationFor(Node* node, MachineRepresentation output_rep,
219 Type* output_type, Node* use_node, 219 Type* output_type, Node* use_node,
220 UseInfo use_info); 220 UseInfo use_info);
221 Node* GetBitRepresentationFor(Node* node, MachineRepresentation output_rep, 221 Node* GetBitRepresentationFor(Node* node, MachineRepresentation output_rep,
222 Type* output_type); 222 Type* output_type);
223 Node* GetWord64RepresentationFor(Node* node, MachineRepresentation output_rep, 223 Node* GetWord64RepresentationFor(Node* node, MachineRepresentation output_rep,
224 Type* output_type); 224 Type* output_type);
225 Node* GetCheckedWord32RepresentationFor(Node* node,
226 MachineRepresentation output_rep,
227 Type* output_type, Node* use_node,
228 Truncation truncation,
229 TypeCheckKind check);
230 Node* TypeError(Node* node, MachineRepresentation output_rep, 225 Node* TypeError(Node* node, MachineRepresentation output_rep,
231 Type* output_type, MachineRepresentation use); 226 Type* output_type, MachineRepresentation use);
232 Node* MakeTruncatedInt32Constant(double value); 227 Node* MakeTruncatedInt32Constant(double value);
233 Node* InsertChangeFloat32ToFloat64(Node* node); 228 Node* InsertChangeFloat32ToFloat64(Node* node);
234 Node* InsertChangeFloat64ToInt32(Node* node); 229 Node* InsertChangeFloat64ToInt32(Node* node);
235 Node* InsertChangeFloat64ToUint32(Node* node); 230 Node* InsertChangeFloat64ToUint32(Node* node);
236 Node* InsertChangeTaggedSignedToInt32(Node* node); 231 Node* InsertChangeTaggedSignedToInt32(Node* node);
237 Node* InsertChangeTaggedToFloat64(Node* node); 232 Node* InsertChangeTaggedToFloat64(Node* node);
238 233
239 Node* InsertConversion(Node* node, const Operator* op, Node* use_node); 234 Node* InsertConversion(Node* node, const Operator* op, Node* use_node);
240 235
241 JSGraph* jsgraph() const { return jsgraph_; } 236 JSGraph* jsgraph() const { return jsgraph_; }
242 Isolate* isolate() const { return isolate_; } 237 Isolate* isolate() const { return isolate_; }
243 Factory* factory() const { return isolate()->factory(); } 238 Factory* factory() const { return isolate()->factory(); }
244 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); } 239 SimplifiedOperatorBuilder* simplified() { return jsgraph()->simplified(); }
245 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 240 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
246 }; 241 };
247 242
248 } // namespace compiler 243 } // namespace compiler
249 } // namespace internal 244 } // namespace internal
250 } // namespace v8 245 } // namespace v8
251 246
252 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_ 247 #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