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

Unified Diff: src/unicode.h

Issue 1661483002: Revert of [regexp] implement /ui to mirror the implementation for /i. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add cause of revert as test case Created 4 years, 11 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
« no previous file with comments | « src/regexp/regexp-parser.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/unicode.h
diff --git a/src/unicode.h b/src/unicode.h
index 2d7f995a68fdcc3a4567902a1f750a3ed6eec77a..7471a638c045d169e58bceae78087615b06202a9 100644
--- a/src/unicode.h
+++ b/src/unicode.h
@@ -15,8 +15,8 @@
namespace unibrow {
-typedef int32_t uchar;
-typedef uint8_t byte;
+typedef unsigned int uchar;
+typedef unsigned char byte;
/**
* The max length of the result of converting the case of a single
@@ -130,7 +130,7 @@ class Utf16 {
class Utf8 {
public:
- static inline unsigned Length(uchar chr, int previous);
+ static inline uchar Length(uchar chr, int previous);
static inline unsigned EncodeOneByte(char* out, uint8_t c);
static inline unsigned Encode(char* out,
uchar c,
« no previous file with comments | « src/regexp/regexp-parser.cc ('k') | test/cctest/test-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698