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

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

Issue 11413184: Create specialized versions of getInterceptor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/lib/string_helper.dart (revision 15381)
+++ sdk/lib/_internal/compiler/implementation/lib/string_helper.dart (working copy)
@@ -122,17 +122,6 @@
}
}
-stringSplitUnchecked(receiver, pattern) {
- if (pattern is String) {
- return JS('=List', r'#.split(#)', receiver, pattern);
- } else if (pattern is JSSyntaxRegExp) {
- var re = regExpGetNative(pattern);
- return JS('=List', r'#.split(#)', receiver, re);
- } else {
- throw "String.split(Pattern) UNIMPLEMENTED";
- }
-}
-
stringJoinUnchecked(array, separator) {
return JS('String', r'#.join(#)', array, separator);
}

Powered by Google App Engine
This is Rietveld 408576698