Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(561)

Side by Side Diff: runtime/vm/flow_graph_range_analysis.cc

Issue 3001463002: [gardening] Revert "Eliminate dependencies on assemblers and code stubs in precompiled runtime." (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/flow_graph_type_propagator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
7 #include "vm/flow_graph_range_analysis.h" 5 #include "vm/flow_graph_range_analysis.h"
8 6
9 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
10 #include "vm/il_printer.h" 8 #include "vm/il_printer.h"
11 9
12 namespace dart { 10 namespace dart {
13 11
14 DEFINE_FLAG(bool, 12 DEFINE_FLAG(bool,
15 array_bounds_check_elimination, 13 array_bounds_check_elimination,
16 true, 14 true,
(...skipping 2944 matching lines...) Expand 10 before | Expand all | Expand 10 after
2961 return max.offset() < canonical_length.offset(); 2959 return max.offset() < canonical_length.offset();
2962 } 2960 }
2963 } while (CanonicalizeMaxBoundary(&max) || 2961 } while (CanonicalizeMaxBoundary(&max) ||
2964 CanonicalizeMinBoundary(&canonical_length)); 2962 CanonicalizeMinBoundary(&canonical_length));
2965 2963
2966 // Failed to prove that maximum is bounded with array length. 2964 // Failed to prove that maximum is bounded with array length.
2967 return false; 2965 return false;
2968 } 2966 }
2969 2967
2970 } // namespace dart 2968 } // namespace dart
2971
2972 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/flow_graph_type_propagator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698