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

Unified Diff: test/dart_codegen/expect/convert/string_conversion.dart

Issue 1055923002: Don't call dinvoke on Object methods (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refactor dynamic target logic Created 5 years, 8 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: test/dart_codegen/expect/convert/string_conversion.dart
diff --git a/test/dart_codegen/expect/convert/string_conversion.dart b/test/dart_codegen/expect/convert/string_conversion.dart
index 83599e7b8d5493c89b276a70c7d0d1f16d62095c..8f7f95be006ef5329cadd30aa8a48726d4088c7e 100644
--- a/test/dart_codegen/expect/convert/string_conversion.dart
+++ b/test/dart_codegen/expect/convert/string_conversion.dart
@@ -46,14 +46,14 @@ if (_buffer.isNotEmpty) _flush();
Iterator iterator = objects.iterator;
if (!iterator.moveNext()) return; if (separator.isEmpty) {
do {
-_chunkedSink.add(((__x15) => DEVC$RT.cast(__x15, dynamic, String, "DynamicCast", """line 147, column 26 of dart:convert/string_conversion.dart: """, __x15 is String, true))(iterator.current.toString()));
+_chunkedSink.add(iterator.current.toString());
}
while (iterator.moveNext());}
else {
-_chunkedSink.add(((__x16) => DEVC$RT.cast(__x16, dynamic, String, "DynamicCast", """line 150, column 24 of dart:convert/string_conversion.dart: """, __x16 is String, true))(iterator.current.toString()));
+_chunkedSink.add(iterator.current.toString());
while (iterator.moveNext()) {
write(separator);
- _chunkedSink.add(((__x17) => DEVC$RT.cast(__x17, dynamic, String, "DynamicCast", """line 153, column 26 of dart:convert/string_conversion.dart: """, __x17 is String, true))(iterator.current.toString()));
+ _chunkedSink.add(iterator.current.toString());
}
}
}

Powered by Google App Engine
This is Rietveld 408576698