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_ESCAPE_ANALYSIS_H_ | 5 #ifndef V8_HYDROGEN_ESCAPE_ANALYSIS_H_ |
6 #define V8_HYDROGEN_ESCAPE_ANALYSIS_H_ | 6 #define V8_HYDROGEN_ESCAPE_ANALYSIS_H_ |
7 | 7 |
8 #include "allocation.h" | 8 #include "src/allocation.h" |
9 #include "hydrogen.h" | 9 #include "src/hydrogen.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 | 14 |
15 class HEscapeAnalysisPhase : public HPhase { | 15 class HEscapeAnalysisPhase : public HPhase { |
16 public: | 16 public: |
17 explicit HEscapeAnalysisPhase(HGraph* graph) | 17 explicit HEscapeAnalysisPhase(HGraph* graph) |
18 : HPhase("H_Escape analysis", graph), | 18 : HPhase("H_Escape analysis", graph), |
19 captured_(0, zone()), | 19 captured_(0, zone()), |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Map of block IDs to the data-flow state at block entry during the | 62 // Map of block IDs to the data-flow state at block entry during the |
63 // scalar replacement phase. | 63 // scalar replacement phase. |
64 ZoneList<HCapturedObject*> block_states_; | 64 ZoneList<HCapturedObject*> block_states_; |
65 }; | 65 }; |
66 | 66 |
67 | 67 |
68 } } // namespace v8::internal | 68 } } // namespace v8::internal |
69 | 69 |
70 #endif // V8_HYDROGEN_ESCAPE_ANALYSIS_H_ | 70 #endif // V8_HYDROGEN_ESCAPE_ANALYSIS_H_ |
OLD | NEW |