| Index: src/char-predicates.h
|
| diff --git a/src/char-predicates.h b/src/char-predicates.h
|
| index 767ad6513afa7e3d5995a31a1df22372bf7a9484..743693157f1f76033942e10b40ac9c6eb3b59223 100644
|
| --- a/src/char-predicates.h
|
| +++ b/src/char-predicates.h
|
| @@ -66,6 +66,14 @@ struct IdentifierPart {
|
| }
|
| };
|
|
|
| +
|
| +struct WhiteSpace {
|
| + static inline bool Is(uc32 c) {
|
| + return unibrow::WhiteSpace::Is(c) ||
|
| + c == 0xFEFF; // BYTE ORDER MARK is a white space in ECMA-262 5.1, 7.2.
|
| + }
|
| +};
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_CHAR_PREDICATES_H_
|
|
|