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

Unified Diff: src/char-predicates.h

Issue 969353003: Speed up identifier, keyword and smi parsing (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Use char predicates Created 5 years, 10 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 | « no previous file | src/char-predicates-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/char-predicates.h
diff --git a/src/char-predicates.h b/src/char-predicates.h
index 5ecb07de992a6f62b1ad605ee97ce7f81c04a624..c68ad74b6a1246bd79d8b859cf219ecc957c5ca0 100644
--- a/src/char-predicates.h
+++ b/src/char-predicates.h
@@ -15,6 +15,8 @@ namespace internal {
inline bool IsCarriageReturn(uc32 c);
inline bool IsLineFeed(uc32 c);
+inline bool IsAsciiIdentifier(uc32 c);
+inline bool IsAlphaNumeric(uc32 c);
inline bool IsDecimalDigit(uc32 c);
inline bool IsHexDigit(uc32 c);
inline bool IsOctalDigit(uc32 c);
« no previous file with comments | « no previous file | src/char-predicates-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698