| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 6 |
| 5 #include "vm/flow_graph_range_analysis.h" | 7 #include "vm/flow_graph_range_analysis.h" |
| 6 | 8 |
| 7 #include "vm/bit_vector.h" | 9 #include "vm/bit_vector.h" |
| 8 #include "vm/il_printer.h" | 10 #include "vm/il_printer.h" |
| 9 | 11 |
| 10 namespace dart { | 12 namespace dart { |
| 11 | 13 |
| 12 DEFINE_FLAG(bool, | 14 DEFINE_FLAG(bool, |
| 13 array_bounds_check_elimination, | 15 array_bounds_check_elimination, |
| 14 true, | 16 true, |
| (...skipping 3061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3076 } | 3078 } |
| 3077 } while (CanonicalizeMaxBoundary(&max) || | 3079 } while (CanonicalizeMaxBoundary(&max) || |
| 3078 CanonicalizeMinBoundary(&canonical_length)); | 3080 CanonicalizeMinBoundary(&canonical_length)); |
| 3079 | 3081 |
| 3080 // Failed to prove that maximum is bounded with array length. | 3082 // Failed to prove that maximum is bounded with array length. |
| 3081 return false; | 3083 return false; |
| 3082 } | 3084 } |
| 3083 | 3085 |
| 3084 | 3086 |
| 3085 } // namespace dart | 3087 } // namespace dart |
| 3088 |
| 3089 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| OLD | NEW |