summaryrefslogtreecommitdiff
path: root/deps/v8/src/unicode.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/unicode.h')
-rw-r--r--deps/v8/src/unicode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/unicode.h b/deps/v8/src/unicode.h
index a3b799ebda..9d1d683231 100644
--- a/deps/v8/src/unicode.h
+++ b/deps/v8/src/unicode.h
@@ -120,6 +120,9 @@ class Utf8 {
static inline unsigned Encode(char* out, uchar c);
static const byte* ReadBlock(Buffer<const char*> str, byte* buffer,
unsigned capacity, unsigned* chars_read, unsigned* offset);
+ static uchar CalculateValue(const byte* str,
+ unsigned length,
+ unsigned* cursor);
static const uchar kBadChar = 0xFFFD;
static const unsigned kMaxEncodedSize = 4;
static const unsigned kMaxOneByteChar = 0x7f;
@@ -133,9 +136,6 @@ class Utf8 {
static inline uchar ValueOf(const byte* str,
unsigned length,
unsigned* cursor);
- static uchar CalculateValue(const byte* str,
- unsigned length,
- unsigned* cursor);
};
// --- C h a r a c t e r S t r e a m ---