summaryrefslogtreecommitdiff
path: root/deps/v8/src/unicode-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/unicode-cache.h')
-rw-r--r--deps/v8/src/unicode-cache.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/deps/v8/src/unicode-cache.h b/deps/v8/src/unicode-cache.h
index ddc81b738c..b6f6a85c6c 100644
--- a/deps/v8/src/unicode-cache.h
+++ b/deps/v8/src/unicode-cache.h
@@ -6,9 +6,9 @@
#define V8_UNICODE_CACHE_H_
#include "src/base/macros.h"
-#include "src/char-predicates.h"
-#include "src/unicode.h"
#include "src/unicode-decoder.h"
+#include "src/unicode.h"
+#include "src/utils.h"
namespace v8 {
namespace internal {
@@ -21,20 +21,7 @@ class UnicodeCache {
StaticResource<Utf8Decoder>* utf8_decoder() { return &utf8_decoder_; }
- inline bool IsIdentifierStart(unibrow::uchar c);
- inline bool IsIdentifierPart(unibrow::uchar c);
- inline bool IsLineTerminator(unibrow::uchar c);
- inline bool IsLineTerminatorSequence(unibrow::uchar c, unibrow::uchar next);
-
- inline bool IsWhiteSpace(unibrow::uchar c);
- inline bool IsWhiteSpaceOrLineTerminator(unibrow::uchar c);
-
private:
- unibrow::Predicate<IdentifierStart, 128> kIsIdentifierStart;
- unibrow::Predicate<IdentifierPart, 128> kIsIdentifierPart;
- unibrow::Predicate<WhiteSpace, 128> kIsWhiteSpace;
- unibrow::Predicate<WhiteSpaceOrLineTerminator, 128>
- kIsWhiteSpaceOrLineTerminator;
StaticResource<Utf8Decoder> utf8_decoder_;
DISALLOW_COPY_AND_ASSIGN(UnicodeCache);