| Index: src/preparser.h
|
| diff --git a/src/preparser.h b/src/preparser.h
|
| index 0f417f117cba1f8dce27ac211ec23d19ffe576f2..bcaab743e5ad28e903bdd297154fd6fb7519e593 100644
|
| --- a/src/preparser.h
|
| +++ b/src/preparser.h
|
| @@ -243,8 +243,6 @@ class PreParser : public ParserBase {
|
| : ParserBase(scanner, stack_limit),
|
| log_(log),
|
| scope_(NULL),
|
| - strict_mode_violation_location_(Scanner::Location::invalid()),
|
| - strict_mode_violation_type_(NULL),
|
| parenthesized_function_(false) { }
|
|
|
| ~PreParser() {}
|
| @@ -655,20 +653,8 @@ class PreParser : public ParserBase {
|
|
|
| bool CheckInOrOf(bool accept_OF);
|
|
|
| - void SetStrictModeViolation(Scanner::Location,
|
| - const char* type,
|
| - bool* ok);
|
| -
|
| - void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
|
| -
|
| - void StrictModeIdentifierViolation(Scanner::Location,
|
| - Identifier identifier,
|
| - bool* ok);
|
| -
|
| ParserRecorder* log_;
|
| Scope* scope_;
|
| - Scanner::Location strict_mode_violation_location_;
|
| - const char* strict_mode_violation_type_;
|
| bool parenthesized_function_;
|
| };
|
|
|
|
|