Chromium Code Reviews

Unified Diff: src/objects.h

Issue 1578253005: [regexp] implement character classes for unicode regexps. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/ostreams.h » ('j') | test/mjsunit/harmony/unicode-character-ranges.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 429bd49c3399ec2d8bb620d1d46501ad840a1cf2..0a187abbe663de80ecce0dd4da48d11eae30923f 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -8825,6 +8825,7 @@ class String: public Name {
static const uint32_t kMaxOneByteCharCodeU = unibrow::Latin1::kMaxChar;
static const int kMaxUtf16CodeUnit = 0xffff;
static const uint32_t kMaxUtf16CodeUnitU = kMaxUtf16CodeUnit;
+ static const uc32 kMaxCodePoint = 0x10ffff;
// Value of hash field containing computed hash equal to zero.
static const int kEmptyStringHash = kIsNotArrayIndexMask;
« no previous file with comments | « no previous file | src/ostreams.h » ('j') | test/mjsunit/harmony/unicode-character-ranges.js » ('J')

Powered by Google App Engine