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 #include "hydrogen-check-elimination.h" | 5 #include "src/hydrogen-check-elimination.h" |
6 | 6 |
7 #include "hydrogen-alias-analysis.h" | 7 #include "src/hydrogen-alias-analysis.h" |
8 #include "hydrogen-flow-engine.h" | 8 #include "src/hydrogen-flow-engine.h" |
9 | 9 |
10 #define GLOBAL 1 | 10 #define GLOBAL 1 |
11 | 11 |
12 // Only collect stats in debug mode. | 12 // Only collect stats in debug mode. |
13 #if DEBUG | 13 #if DEBUG |
14 #define INC_STAT(x) phase_->x++ | 14 #define INC_STAT(x) phase_->x++ |
15 #else | 15 #else |
16 #define INC_STAT(x) | 16 #define INC_STAT(x) |
17 #endif | 17 #endif |
18 | 18 |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 PRINT_STAT(removed_cho); | 796 PRINT_STAT(removed_cho); |
797 PRINT_STAT(narrowed); | 797 PRINT_STAT(narrowed); |
798 PRINT_STAT(loads); | 798 PRINT_STAT(loads); |
799 PRINT_STAT(empty); | 799 PRINT_STAT(empty); |
800 PRINT_STAT(compares_true); | 800 PRINT_STAT(compares_true); |
801 PRINT_STAT(compares_false); | 801 PRINT_STAT(compares_false); |
802 PRINT_STAT(transitions); | 802 PRINT_STAT(transitions); |
803 } | 803 } |
804 | 804 |
805 } } // namespace v8::internal | 805 } } // namespace v8::internal |
OLD | NEW |