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

Unified Diff: pkg/compiler/lib/src/cps_ir/builtin_operator.dart

Issue 1195573003: dart2js cps: Refactor and optimize string concatenations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove renegade linebreak Created 5 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: pkg/compiler/lib/src/cps_ir/builtin_operator.dart
diff --git a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart
index 0995e342cf047a1cece617ff67e4889119deee57..abdda0ac40c16c6c10d952f9821ebd1a1014b35c 100644
--- a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart
+++ b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart
@@ -37,6 +37,13 @@ enum BuiltinOperator {
NumGt,
NumGe,
+ /// Concatenates any number of strings.
+ ///
+ /// Takes any number of arguments, and each argument must be a string.
+ ///
+ /// Returns the empty string if no arguments are given.
+ StringConcat,
karlklose 2015/06/19 08:33:44 I would prefer not to abbreviate the enum identifi
asgerf 2015/06/19 11:04:34 Done.
+
/// Returns true if the two arguments are the same value, and that value is
/// not NaN, or if one argument is +0 and the other is -0.
///

Powered by Google App Engine
This is Rietveld 408576698