Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index ddea1792781a5d10310b2095b9c67e7dff9531f2..b084ba474203b2c06a547324a49a1007a3102e12 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -599,6 +599,8 @@ PreParser::Statement PreParser::ParseExpressionOrLabelledStatement(bool* ok) { |
return Statement::Default(); |
case Token::THIS: |
+ if (!FLAG_strong_this) break; |
+ // Fall through. |
case Token::SUPER: |
if (is_strong(language_mode()) && |
i::IsConstructor(function_state_->kind())) { |