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

Unified Diff: src/unicode.h

Issue 2331303002: Use ICU for ID_START and ID_CONTINUE for Unicode 9 data (Closed)
Patch Set: Refers to PropList.txt for Other_ID_{Start,Continue} Created 3 years, 7 months 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: src/unicode.h
diff --git a/src/unicode.h b/src/unicode.h
index 1b98a472f20bf06de2aad75889f27732872864c0..ad7d218b259b9b2d28d4176301f98d49d5beebfb 100644
--- a/src/unicode.h
+++ b/src/unicode.h
@@ -172,12 +172,10 @@ class Utf8 {
struct Uppercase {
static bool Is(uchar c);
};
-struct Lowercase {
- static bool Is(uchar c);
-};
struct Letter {
static bool Is(uchar c);
};
+#ifndef V8_INTL_START
struct V8_EXPORT_PRIVATE ID_Start {
static bool Is(uchar c);
};
@@ -190,6 +188,7 @@ struct V8_EXPORT_PRIVATE WhiteSpace {
struct V8_EXPORT_PRIVATE LineTerminator {
static bool Is(uchar c);
};
+#endif // !V8_INTL_SUPPORT
struct ToLowercase {
static const int kMaxWidth = 3;
static const bool kIsToLower = true;

Powered by Google App Engine
This is Rietveld 408576698