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

Unified Diff: runtime/lib/regexp_patch.dart

Issue 10874038: Make StringBase._substringUnchecked a native function. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | runtime/lib/string.cc » ('j') | runtime/lib/string.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/regexp_patch.dart
===================================================================
--- runtime/lib/regexp_patch.dart (revision 11257)
+++ runtime/lib/regexp_patch.dart (working copy)
@@ -31,7 +31,7 @@
assert(endIndex == -1);
return null;
}
- return str.substringUnchecked_(startIndex, endIndex);
+ return str._substringUnchecked(startIndex, endIndex);
}
String operator [](int groupIdx) {
@@ -105,7 +105,7 @@
if (match === null) {
return null;
}
- return str.substringUnchecked_(match[0], match[1]);
+ return str._substringUnchecked(match[0], match[1]);
}
/* patch */ String get pattern() native "JSSyntaxRegExp_getPattern";
« no previous file with comments | « no previous file | runtime/lib/string.cc » ('j') | runtime/lib/string.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698