summaryrefslogtreecommitdiff
path: root/deps/v8/src/unicode.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-09-16 21:33:32 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-09-16 21:33:32 -0700
commit431e43009c1a90781bea57aa993797d0161bbf95 (patch)
tree05f2a330d690365aee943d0bc1b5813070662c4b /deps/v8/src/unicode.h
parentd2de8ba400abf5fffe4ed9c688df86508ea72ff1 (diff)
downloadnode-431e43009c1a90781bea57aa993797d0161bbf95.tar.gz
Upgrade V8 to 2.4.4
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 a3b799ebd..9d1d68323 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 ---