Index: tests/compiler/dart2js_extra/bailout_test.dart |
diff --git a/tests/compiler/dart2js_extra/bailout_test.dart b/tests/compiler/dart2js_extra/bailout_test.dart |
index 308658a1adbbebd2a508f711d26db607a24d1ac1..dd31071fefd7256deca189f58f3d655541bdac85 100644 |
--- a/tests/compiler/dart2js_extra/bailout_test.dart |
+++ b/tests/compiler/dart2js_extra/bailout_test.dart |
@@ -45,7 +45,7 @@ String forBailout() { |
String forInBailout() { |
var n = myString.length; |
var res = ''; |
- for (int i in myString.charCodes) { |
+ for (int i in myString.codeUnits) { |
var o = myString; |
if (false) o[1] = 2; |
res = res.concat(new String.fromCharCodes([i])); |