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_CRANKSHAFT_HYDROGEN_GVN_H_ |
6 #define V8_HYDROGEN_GVN_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_GVN_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/hydrogen.h" | 10 #include "src/crankshaft/hydrogen.h" |
11 #include "src/hydrogen-instructions.h" | 11 #include "src/crankshaft/hydrogen-instructions.h" |
12 #include "src/zone.h" | 12 #include "src/zone.h" |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 // This class extends GVNFlagSet with additional "special" dynamic side effects, | 17 // This class extends GVNFlagSet with additional "special" dynamic side effects, |
18 // which can be used to represent side effects that cannot be expressed using | 18 // which can be used to represent side effects that cannot be expressed using |
19 // the GVNFlags of an HInstruction. These special side effects are tracked by a | 19 // the GVNFlags of an HInstruction. These special side effects are tracked by a |
20 // SideEffectsTracker (see below). | 20 // SideEffectsTracker (see below). |
21 class SideEffects final { | 21 class SideEffects final { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Used when collecting side effects on paths from dominator to | 144 // Used when collecting side effects on paths from dominator to |
145 // dominated. | 145 // dominated. |
146 BitVector visited_on_paths_; | 146 BitVector visited_on_paths_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); | 148 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace internal | 151 } // namespace internal |
152 } // namespace v8 | 152 } // namespace v8 |
153 | 153 |
154 #endif // V8_HYDROGEN_GVN_H_ | 154 #endif // V8_CRANKSHAFT_HYDROGEN_GVN_H_ |
OLD | NEW |