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 <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/compiler.h" | |
11 #include "src/hydrogen.h" | 10 #include "src/hydrogen.h" |
12 #include "src/hydrogen-instructions.h" | 11 #include "src/hydrogen-instructions.h" |
13 #include "src/zone.h" | 12 #include "src/zone.h" |
14 | 13 |
15 namespace v8 { | 14 namespace v8 { |
16 namespace internal { | 15 namespace internal { |
17 | 16 |
18 // This class extends GVNFlagSet with additional "special" dynamic side effects, | 17 // This class extends GVNFlagSet with additional "special" dynamic side effects, |
19 // 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 |
20 // 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 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Used when collecting side effects on paths from dominator to | 144 // Used when collecting side effects on paths from dominator to |
146 // dominated. | 145 // dominated. |
147 BitVector visited_on_paths_; | 146 BitVector visited_on_paths_; |
148 | 147 |
149 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); | 148 DISALLOW_COPY_AND_ASSIGN(HGlobalValueNumberingPhase); |
150 }; | 149 }; |
151 | 150 |
152 } } // namespace v8::internal | 151 } } // namespace v8::internal |
153 | 152 |
154 #endif // V8_HYDROGEN_GVN_H_ | 153 #endif // V8_HYDROGEN_GVN_H_ |
OLD | NEW |