Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_NODE_H_ | 5 #ifndef V8_COMPILER_NODE_H_ |
| 6 #define V8_COMPILER_NODE_H_ | 6 #define V8_COMPILER_NODE_H_ |
| 7 | 7 |
| 8 #include "src/compiler/opcodes.h" | 8 #include "src/compiler/opcodes.h" |
| 9 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" |
| 10 #include "src/compiler/types.h" | 10 #include "src/compiler/types.h" |
| 11 #include "src/globals.h" | 11 #include "src/globals.h" |
| 12 #include "src/zone/zone-containers.h" | 12 #include "src/zone/zone-containers.h" |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 namespace compiler { | 16 namespace compiler { |
| 17 | 17 |
| 18 // Forward declarations. | 18 // Forward declarations. |
| 19 class Edge; | 19 class Edge; |
| 20 class Graph; | 20 class Graph; |
| 21 | 21 class Operator; |
|
epertoso
2017/01/03 11:34:49
We're including operator.h, this seems wrong.
| |
| 22 | 22 |
| 23 // Marks are used during traversal of the graph to distinguish states of nodes. | 23 // Marks are used during traversal of the graph to distinguish states of nodes. |
| 24 // Each node has a mark which is a monotonically increasing integer, and a | 24 // Each node has a mark which is a monotonically increasing integer, and a |
| 25 // {NodeMarker} has a range of values that indicate states of a node. | 25 // {NodeMarker} has a range of values that indicate states of a node. |
| 26 typedef uint32_t Mark; | 26 typedef uint32_t Mark; |
| 27 | 27 |
| 28 | 28 |
| 29 // NodeIds are identifying numbers for nodes that can be used to index auxiliary | 29 // NodeIds are identifying numbers for nodes that can be used to index auxiliary |
| 30 // out-of-line data associated with each node. | 30 // out-of-line data associated with each node. |
| 31 typedef uint32_t NodeId; | 31 typedef uint32_t NodeId; |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 557 } | 557 } |
| 558 | 558 |
| 559 | 559 |
| 560 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); } | 560 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); } |
| 561 | 561 |
| 562 } // namespace compiler | 562 } // namespace compiler |
| 563 } // namespace internal | 563 } // namespace internal |
| 564 } // namespace v8 | 564 } // namespace v8 |
| 565 | 565 |
| 566 #endif // V8_COMPILER_NODE_H_ | 566 #endif // V8_COMPILER_NODE_H_ |
| OLD | NEW |