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

Unified Diff: runtime/vm/bootstrap_natives.h

Issue 11368138: Add some support for the code-point code-unit distinction. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Implemented feedback from patch set 3 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: runtime/vm/bootstrap_natives.h
diff --git a/runtime/vm/bootstrap_natives.h b/runtime/vm/bootstrap_natives.h
index 7b424b0dc92ae29c9fe23ca3bbf66596c1982ce5..072d450c1395b99de8560e4d700021fef101afbb 100644
--- a/runtime/vm/bootstrap_natives.h
+++ b/runtime/vm/bootstrap_natives.h
@@ -70,12 +70,12 @@ namespace dart {
V(ObjectArray_setIndexed, 3) \
V(ObjectArray_getLength, 1) \
V(ObjectArray_copyFromObjectArray, 5) \
- V(StringBase_createFromCodePoints, 1) \
+ V(StringBase_createFromUtf16, 1) \
V(StringBase_substringUnchecked, 3) \
V(String_getHashCode, 1) \
V(String_getLength, 1) \
V(String_charAt, 2) \
- V(String_charCodeAt, 2) \
+ V(String_codeUnitAt, 2) \
V(String_concat, 2) \
V(String_toLowerCase, 1) \
V(String_toUpperCase, 1) \

Powered by Google App Engine
This is Rietveld 408576698