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

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

Issue 883613006: [turbofan] Cleanup the NodeProperties. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/node-properties-inl.h ('k') | src/compiler/schedule.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 <sstream> 8 #include <sstream>
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
11 #include "src/compiler/js-graph.h" 11 #include "src/compiler/js-graph.h"
12 #include "src/compiler/machine-operator.h" 12 #include "src/compiler/machine-operator.h"
13 #include "src/compiler/node-properties-inl.h"
14 #include "src/compiler/simplified-operator.h" 13 #include "src/compiler/simplified-operator.h"
15 14
16 namespace v8 { 15 namespace v8 {
17 namespace internal { 16 namespace internal {
18 namespace compiler { 17 namespace compiler {
19 18
20 // Contains logic related to changing the representation of values for constants 19 // Contains logic related to changing the representation of values for constants
21 // and other nodes, as well as lowering Simplified->Machine operators. 20 // and other nodes, as well as lowering Simplified->Machine operators.
22 // Eagerly folds any representation changes for constants. 21 // Eagerly folds any representation changes for constants.
23 class RepresentationChanger { 22 class RepresentationChanger {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 Factory* factory() const { return isolate()->factory(); } 453 Factory* factory() const { return isolate()->factory(); }
455 SimplifiedOperatorBuilder* simplified() { return simplified_; } 454 SimplifiedOperatorBuilder* simplified() { return simplified_; }
456 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } 455 MachineOperatorBuilder* machine() { return jsgraph()->machine(); }
457 }; 456 };
458 457
459 } // namespace compiler 458 } // namespace compiler
460 } // namespace internal 459 } // namespace internal
461 } // namespace v8 460 } // namespace v8
462 461
463 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_ 462 #endif // V8_COMPILER_REPRESENTATION_CHANGE_H_
OLDNEW
« no previous file with comments | « src/compiler/node-properties-inl.h ('k') | src/compiler/schedule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698