| 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_HYDROGEN_FLOW_ENGINE_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_FLOW_ENGINE_H_ |
| 6 #define V8_HYDROGEN_FLOW_ENGINE_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_FLOW_ENGINE_H_ |
| 7 | 7 |
| 8 #include "src/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/hydrogen-instructions.h" | 9 #include "src/crankshaft/hydrogen-instructions.h" |
| 10 #include "src/zone.h" | 10 #include "src/zone.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // An example implementation of effects that doesn't collect anything. | 15 // An example implementation of effects that doesn't collect anything. |
| 16 class NoEffects : public ZoneObject { | 16 class NoEffects : public ZoneObject { |
| 17 public: | 17 public: |
| 18 explicit NoEffects(Zone* zone) { } | 18 explicit NoEffects(Zone* zone) { } |
| 19 | 19 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 ZoneList<int> pred_counts_; // Finished predecessors (by block id). | 210 ZoneList<int> pred_counts_; // Finished predecessors (by block id). |
| 211 #endif | 211 #endif |
| 212 ZoneList<State*> block_states_; // Block states (by block id). | 212 ZoneList<State*> block_states_; // Block states (by block id). |
| 213 ZoneList<Effects*> loop_effects_; // Loop effects (by block id). | 213 ZoneList<Effects*> loop_effects_; // Loop effects (by block id). |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 | 216 |
| 217 } // namespace internal | 217 } // namespace internal |
| 218 } // namespace v8 | 218 } // namespace v8 |
| 219 | 219 |
| 220 #endif // V8_HYDROGEN_FLOW_ENGINE_H_ | 220 #endif // V8_CRANKSHAFT_HYDROGEN_FLOW_ENGINE_H_ |
| OLD | NEW |