| Index: src/preparser.h
|
| diff --git a/src/preparser.h b/src/preparser.h
|
| index 541da23af1acfb83b59426c34e664195844bb9d5..c84009245457610b52a55ef41d8de557f8649c89 100644
|
| --- a/src/preparser.h
|
| +++ b/src/preparser.h
|
| @@ -2220,6 +2220,7 @@ ParserBase<Traits>::ParsePrimaryExpression(ExpressionClassifier* classifier,
|
| break;
|
| }
|
| }
|
| + scope_->RecordThisUsage();
|
| result = this->ThisExpression(scope_, factory(), beg_pos);
|
| break;
|
| }
|
| @@ -3245,6 +3246,7 @@ ParserBase<Traits>::ParseStrongInitializationExpression(
|
| Consume(Token::THIS);
|
| int pos = position();
|
| function_state_->set_this_location(scanner()->location());
|
| + scope_->RecordThisUsage();
|
| ExpressionT this_expr = this->ThisExpression(scope_, factory(), pos);
|
|
|
| ExpressionT left = this->EmptyExpression();
|
|
|