| Index: src/scanner.h
|
| diff --git a/src/scanner.h b/src/scanner.h
|
| index 1f49fd0e6ec97564164b8ea162e45d7239a6afa3..eec38cb76da56e6d3ee818d6aa52a0245195097a 100644
|
| --- a/src/scanner.h
|
| +++ b/src/scanner.h
|
| @@ -251,17 +251,10 @@ class Scanner {
|
|
|
| bool stack_overflow() { return stack_overflow_; }
|
|
|
| - static StaticResource<Utf8Decoder>* utf8_decoder() { return &utf8_decoder_; }
|
| -
|
| // Tells whether the buffer contains an identifier (no escapes).
|
| // Used for checking if a property name is an identifier.
|
| static bool IsIdentifier(unibrow::CharacterStream* buffer);
|
|
|
| - static unibrow::Predicate<IdentifierStart, 128> kIsIdentifierStart;
|
| - static unibrow::Predicate<IdentifierPart, 128> kIsIdentifierPart;
|
| - static unibrow::Predicate<unibrow::LineTerminator, 128> kIsLineTerminator;
|
| - static unibrow::Predicate<unibrow::WhiteSpace, 128> kIsWhiteSpace;
|
| -
|
| static const int kCharacterLookaheadBufferSize = 1;
|
| static const int kNoEndPosition = 1;
|
|
|
| @@ -391,7 +384,6 @@ class Scanner {
|
| UTF8Buffer literal_buffer_;
|
|
|
| bool stack_overflow_;
|
| - static StaticResource<Utf8Decoder> utf8_decoder_;
|
|
|
| // One Unicode character look-ahead; c0_ < 0 at the end of the input.
|
| uc32 c0_;
|
|
|