DescriptionRemove unused code for IsFutureStrictReserved.
This apparently gradually fell out of use after the more general
Token::IsIdentifer was introduced, and whoever left last forgot to
turn out the lights.
The only remaining use was in an assertion in DeclareLabel, but
meanwhile DeclareLabel is only called if IsIdentifier. I added re-formulated assertions, just in case.
R=verwaest@chromium.org
BUG=v8:4947
Committed: https://crrev.com/07eca01b73c0f045cf5f54923987c3b91e1d9a7c
Cr-Commit-Position: refs/heads/master@{#41452}
Patch Set 1 #
Messages
Total messages: 16 (10 generated)
|