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

Unified Diff: runtime/vm/unicode.h

Issue 754383002: Revert "Integrate the Irregexp Regular Expression Engine." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « runtime/vm/unibrow-inl.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unicode.h
diff --git a/runtime/vm/unicode.h b/runtime/vm/unicode.h
index e06f1f933f66ff333744d773456aa7d310a05937..fd7649c5e9558edaedde8a72755246f90de760ab 100644
--- a/runtime/vm/unicode.h
+++ b/runtime/vm/unicode.h
@@ -154,9 +154,9 @@ class Utf16 : AllStatic {
// Encodes a single code point.
static void Encode(int32_t codepoint, uint16_t* dst);
+ private:
static const int32_t kMaxCodeUnit = 0xFFFF;
- private:
static const int32_t kLeadSurrogateOffset = (0xD800 - (0x10000 >> 10));
static const int32_t kSurrogateOffset = (0x10000 - (0xD800 << 10) - 0xDC00);
« no previous file with comments | « runtime/vm/unibrow-inl.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698