perf(parser): always inline postfix update parsing (#28429)

Always inline postfix update parsing to remove its 96-byte callee frame
from ordinary expressions.

Native M3 Max versus `1b5a171d28`: +1.50% across five fixtures (+1.19%
clean subset); release parser example +16,512 bytes (+0.99%), including
+1,664 instruction bytes.

AI-assisted with Codex.
This commit is contained in:
Boshen authored and GitHub committed 2026-10-29 23:51:48 +08:00
1 parent ce9a554278
commit 028a2678b6
1 file changed
+2 -1
+2 -1
View File
@@ -1305,7 +1305,8 @@ impl<'a, C: Config> ParserImpl<'a, C> {
self.parse_postfix_update_expression(start, lhs)
}
#[inline]
#[expect(clippy::inline_always)]
#[inline(always)]
fn parse_postfix_update_expression(
&mut self,
start: u32,