[parser] Inline ParseAndClassifyIdentifier, it's smaller
Change-Id: I78dfc1ae0ec7bc47c14d2d525d2f20516e13effa Reviewed-on: https://chromium-review.googlesource.com/c/1349247 Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#57796}
This commit is contained in:
parent
ce02d86bf2
commit
4ae9ae50cc
@ -941,7 +941,7 @@ class ParserBase {
|
||||
// "arguments" as identifier even in strict mode (this is needed in cases like
|
||||
// "var foo = eval;").
|
||||
IdentifierT ParseIdentifier(AllowRestrictedIdentifiers);
|
||||
IdentifierT ParseAndClassifyIdentifier();
|
||||
V8_INLINE IdentifierT ParseAndClassifyIdentifier();
|
||||
// Parses an identifier or a strict mode future reserved word, and indicate
|
||||
// whether it is strict mode future reserved. Allows passing in function_kind
|
||||
// for the case of parsing the identifier in a function expression, where the
|
||||
|
Loading…
Reference in New Issue
Block a user