| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_ALL_NODES_H_ | 5 #ifndef V8_COMPILER_ALL_NODES_H_ |
| 6 #define V8_COMPILER_ALL_NODES_H_ | 6 #define V8_COMPILER_ALL_NODES_H_ |
| 7 | 7 |
| 8 #include "src/compiler/node.h" | 8 #include "src/compiler/node.h" |
| 9 #include "src/zone-containers.h" | 9 #include "src/zone/zone-containers.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 namespace compiler { | 13 namespace compiler { |
| 14 | 14 |
| 15 // A helper utility that traverses the graph and gathers all nodes reachable | 15 // A helper utility that traverses the graph and gathers all nodes reachable |
| 16 // from end. | 16 // from end. |
| 17 class AllNodes { | 17 class AllNodes { |
| 18 public: | 18 public: |
| 19 // Constructor. Traverses the graph and builds the {reachable} set of nodes | 19 // Constructor. Traverses the graph and builds the {reachable} set of nodes |
| (...skipping 23 matching lines...) Expand all Loading... |
| 43 | 43 |
| 44 BoolVector is_reachable_; | 44 BoolVector is_reachable_; |
| 45 const bool only_inputs_; | 45 const bool only_inputs_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace compiler | 48 } // namespace compiler |
| 49 } // namespace internal | 49 } // namespace internal |
| 50 } // namespace v8 | 50 } // namespace v8 |
| 51 | 51 |
| 52 #endif // V8_COMPILER_ALL_NODES_H_ | 52 #endif // V8_COMPILER_ALL_NODES_H_ |
| OLD | NEW |