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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart

Issue 1353443002: dart2js cps: Add a pass for eliminating bounds checks. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Put "pending statics" error in status file Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
index ab12e0751bd1d7272e3361551f55d4c2008ee492..a6d7a1cbf091a67afb8e025ff0bb0a19e82fcce7 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_operators_test.dart
@@ -84,10 +84,8 @@ main() {
print(list);
}""", r"""
function() {
- var v0 = 1, list = [1, 2, 3];
- if (v0 >= list.length)
- H.ioore(list, v0);
- list[v0] = 6;
+ var list = [1, 2, 3];
+ list[1] = 6;
P.print(list);
}"""),
];
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart ('k') | tests/compiler/dart2js/octagon_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698