| 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_GVN_H_ | 5 #ifndef V8_HYDROGEN_GVN_H_ |
| 6 #define V8_HYDROGEN_GVN_H_ | 6 #define V8_HYDROGEN_GVN_H_ |
| 7 | 7 |
| 8 #include "hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "hydrogen-instructions.h" | 9 #include "src/hydrogen-instructions.h" |
| 10 #include "compiler.h" | 10 #include "src/compiler.h" |
| 11 #include "zone.h" | 11 #include "src/zone.h" |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 // This class extends GVNFlagSet with additional "special" dynamic side effects, | 16 // This class extends GVNFlagSet with additional "special" dynamic side effects, |
| 17 // which can be used to represent side effects that cannot be expressed using | 17 // which can be used to represent side effects that cannot be expressed using |
| 18 // the GVNFlags of an HInstruction. These special side effects are tracked by a | 18 // the GVNFlags of an HInstruction. These special side effects are tracked by a |
| 19 // SideEffectsTracker (see below). | 19 // SideEffectsTracker (see below). |
| 20 class SideEffects V8_FINAL { | 20 class SideEffects V8_FINAL { |
| 21 public: | 21 public: |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // Used when collecting side effects on paths from dominator to | 127 // Used when collecting side effects on paths from dominator to |
| 128 // dominated. | 128 // dominated. |
| 129 BitVector visited_on_paths_; | 129 BitVector visited_on_paths_; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); | 131 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } } // namespace v8::internal | 134 } } // namespace v8::internal |
| 135 | 135 |
| 136 #endif // V8_HYDROGEN_GVN_H_ | 136 #endif // V8_HYDROGEN_GVN_H_ |
| OLD | NEW |