| 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_CHECK_ELIMINATION_H_ | 5 #ifndef V8_HYDROGEN_CHECK_ELIMINATION_H_ |
| 6 #define V8_HYDROGEN_CHECK_ELIMINATION_H_ | 6 #define V8_HYDROGEN_CHECK_ELIMINATION_H_ |
| 7 | 7 |
| 8 #include "hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "hydrogen-alias-analysis.h" | 9 #include "src/hydrogen-alias-analysis.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 | 14 |
| 15 // Remove CheckMaps instructions through flow- and branch-sensitive analysis. | 15 // Remove CheckMaps instructions through flow- and branch-sensitive analysis. |
| 16 class HCheckEliminationPhase : public HPhase { | 16 class HCheckEliminationPhase : public HPhase { |
| 17 public: | 17 public: |
| 18 explicit HCheckEliminationPhase(HGraph* graph) | 18 explicit HCheckEliminationPhase(HGraph* graph) |
| 19 : HPhase("H_Check Elimination", graph), aliasing_() { | 19 : HPhase("H_Check Elimination", graph), aliasing_() { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 48 int compares_true_; | 48 int compares_true_; |
| 49 int compares_false_; | 49 int compares_false_; |
| 50 int transitions_; | 50 int transitions_; |
| 51 #endif | 51 #endif |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 | 54 |
| 55 } } // namespace v8::internal | 55 } } // namespace v8::internal |
| 56 | 56 |
| 57 #endif // V8_HYDROGEN_CHECK_ELIMINATION_H_ | 57 #endif // V8_HYDROGEN_CHECK_ELIMINATION_H_ |
| OLD | NEW |