| Index: src/preparser.h
|
| diff --git a/src/preparser.h b/src/preparser.h
|
| index dd36de789090d35e8724e71fce2b4f7605acd5a8..fe31564daf71242c3197a41d30dc758d2622febf 100644
|
| --- a/src/preparser.h
|
| +++ b/src/preparser.h
|
| @@ -2064,7 +2064,7 @@ ParserBase<Traits>::ParsePrimaryExpression(ExpressionClassifier* classifier,
|
| case Token::THIS: {
|
| BindingPatternUnexpectedToken(classifier);
|
| Consume(Token::THIS);
|
| - if (is_strong(language_mode())) {
|
| + if (FLAG_strong_this && is_strong(language_mode())) {
|
| // Constructors' usages of 'this' in strong mode are parsed separately.
|
| // TODO(rossberg): this does not work with arrow functions yet.
|
| if (i::IsConstructor(function_state_->kind())) {
|
|
|