Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 9658) |
+++ src/objects.h (working copy) |
@@ -6057,7 +6057,8 @@ |
RobustnessFlag robustness_flag = FAST_STRING_TRAVERSAL, |
int* length_output = 0); |
- int Utf8Length(); |
+ inline int Utf8Length() { return Utf8Length(this, 0, length()); } |
+ static int Utf8Length(String* input, int from, int to); |
// Return a 16 bit Unicode representation of the string. |
// The string should be nearly flat, otherwise the performance of |