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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart

Issue 11565034: Improve performance of dart2js StringBuffer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Updated to lib_v2 and private libraries. Created 7 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
Index: dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart b/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
index 5210b87ef67b700e0e77e7d33d88c506c73ac97a..d0d857c2feb5996c99446a27bf1c90fcb659af97 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/lib/js_string.dart
@@ -184,6 +184,7 @@ class JSString implements String {
: JS('bool', r'# < #', this, other) ? -1 : 1;
}
+ // Note: if you change this, also change the function [S].
String toString() => this;
/**

Powered by Google App Engine
This is Rietveld 408576698