Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index bdc0bdceba89a83beee326da42d0791e1575cc2e..543f82ee56a281dfc5984a7aa9a9be91319cf659 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -2071,6 +2071,7 @@ |
classifier->RecordExpressionError(scanner()->location(), |
"strong_arguments"); |
} |
+ if (this->IsArguments(name)) scope_->RecordArgumentsUsage(); |
return name; |
} else if (is_sloppy(language_mode()) && |
(next == Token::FUTURE_STRICT_RESERVED_WORD || |
@@ -2103,6 +2104,7 @@ |
} |
IdentifierT name = this->GetSymbol(scanner()); |
+ if (this->IsArguments(name)) scope_->RecordArgumentsUsage(); |
return name; |
} |
@@ -2120,6 +2122,7 @@ |
} |
IdentifierT name = this->GetSymbol(scanner()); |
+ if (this->IsArguments(name)) scope_->RecordArgumentsUsage(); |
return name; |
} |