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

Unified Diff: dart/tests/compiler/dart2js_extra/bailout_test.dart

Issue 10558025: Fix build breakage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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: dart/tests/compiler/dart2js_extra/bailout_test.dart
diff --git a/dart/tests/compiler/dart2js_extra/bailout_test.dart b/dart/tests/compiler/dart2js_extra/bailout_test.dart
index 20a0f474a7072da47d4f87912c58405d088cec38..d97e75cd6e091ae5b55fe82fe33518db74ecb7fe 100644
--- a/dart/tests/compiler/dart2js_extra/bailout_test.dart
+++ b/dart/tests/compiler/dart2js_extra/bailout_test.dart
@@ -37,7 +37,7 @@ void forBailout() {
for (int i = 0; i < n; i++) {
var o = myString;
if (false) o[1] = 2;
- res += o[i];
+ res = res.concat(o[i]);
}
return res;
}
@@ -48,7 +48,7 @@ void forInBailout() {
for (int i in myString.charCodes()) {
var o = myString;
if (false) o[1] = 2;
- res += new String.fromCharCodes([i]);
+ res = res.concat(new String.fromCharCodes([i]));
}
return res;
}
@@ -60,7 +60,7 @@ void innerForBailout() {
for (int j = 0; j < n; j++) {
var o = myString;
if (false) o[1] = 2;
- res += o[j];
+ res = res.concat(o[j]);
}
}
return res;
@@ -73,7 +73,7 @@ void whileBailout() {
while (i < n) {
var o = myString;
if (false) o[1] = 2;
- res += o[i];
+ res = res.concat(o[i]);
i++;
}
return res;
@@ -86,7 +86,7 @@ void doWhileBailout() {
do {
var o = myString;
if (false) o[1] = 2;
- res += o[i];
+ res = res.concat(o[i]);
i++;
} while (i < n);
return res;
« no previous file with comments | « dart/lib/compiler/implementation/ssa/nodes.dart ('k') | dart/tests/compiler/dart2js_extra/compile_time_constant4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698