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

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

Issue 1562893002: dart2js cps: Generate increment and compound operators. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Also compound string concatenation Created 4 years, 11 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
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_gvn_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 382736c33b0602189778a6dfaf28f39cf98131e9..bb39d1c19269e85f8cb060c63ca0ffc4473c3cba 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_interceptors_test.dart
@@ -43,9 +43,9 @@ main() {
r"""
function() {
var l = ["hest", ["h", "e", "s", "t"]], i = 0, x, j;
- for (P.print(2); i < 2; i = i + 1) {
+ for (P.print(2); i < 2; ++i) {
x = l[i];
- for (j = 0; j < x.length; j = j + 1)
+ for (j = 0; j < x.length; ++j)
P.print(x[j]);
}
}"""),
« no previous file with comments | « tests/compiler/dart2js/js_backend_cps_ir_gvn_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698