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

Unified Diff: src/char-predicates.h

Issue 181453002: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 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 | « src/builtins.cc ('k') | src/checks.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 f52feda6c15caa89af07f7105e8cf8fcce14789b..767ad6513afa7e3d5995a31a1df22372bf7a9484 100644
--- a/src/char-predicates.h
+++ b/src/char-predicates.h
@@ -66,27 +66,6 @@ struct IdentifierPart {
}
};
-
-// WhiteSpace according to ECMA-262 5.1, 7.2.
-struct WhiteSpace {
- static inline bool Is(uc32 c) {
- return c == 0x0009 || // <TAB>
- c == 0x000B || // <VT>
- c == 0x000C || // <FF>
- c == 0xFEFF || // <BOM>
- // \u0020 and \u00A0 are included in unibrow::WhiteSpace.
- unibrow::WhiteSpace::Is(c);
- }
-};
-
-
-// WhiteSpace and LineTerminator according to ECMA-262 5.1, 7.2 and 7.3.
-struct WhiteSpaceOrLineTerminator {
- static inline bool Is(uc32 c) {
- return WhiteSpace::Is(c) || unibrow::LineTerminator::Is(c);
- }
-};
-
} } // namespace v8::internal
#endif // V8_CHAR_PREDICATES_H_
« no previous file with comments | « src/builtins.cc ('k') | src/checks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698