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

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

Issue 1197673003: dart2js cps: Get typed selectors for compound operators. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rebase Created 5 years, 6 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_interceptors_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
index f362bb304b7d8a9651d21c34cd1a7abf481c1283..41073afdd9cd63768e16d6d16f4aaacadcdf2ddb 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
@@ -36,14 +36,14 @@ r"""
function() {
var l = ["hest", ["h", "e", "s", "t"]], i = 0, x, j;
P.print(J.getInterceptor$as(l).get$length(l));
- while (J.getInterceptor$n(i).$lt(i, J.getInterceptor$as(l).get$length(l))) {
+ while (i < J.getInterceptor$as(l).get$length(l)) {
x = J.getInterceptor$as(l).$index(l, i);
j = 0;
- while (J.getInterceptor$n(j).$lt(j, J.getInterceptor$as(x).get$length(x))) {
+ while (j < J.getInterceptor$as(x).get$length(x)) {
P.print(J.getInterceptor$as(x).$index(x, j));
- j = J.getInterceptor$ns(j).$add(j, 1);
+ j = j + 1;
}
- i = J.getInterceptor$ns(i).$add(i, 1);
+ i = i + 1;
}
return null;
}"""),
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698